move search to mb
This commit is contained in:
parent
1e7161dde4
commit
cfc40ca8c7
5 changed files with 9 additions and 15 deletions
|
@ -12,7 +12,6 @@
|
|||
./print-server.nix
|
||||
./real-hardware.nix
|
||||
./restic-server.nix
|
||||
./search.nix
|
||||
./tailscale-cert.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{ config, pkgs, ... }: {
|
||||
imports = [ ../nginx.nix ];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8888 ];
|
||||
virtualisation.oci-containers.containers.searxng = {
|
||||
image =
|
||||
"searxng/searxng@sha256:650c0b183a129e10c2493126bb27c3541ffebbead6e0255fab91831457211b06";
|
||||
volumes = [ ];
|
||||
environment = { BASE_URL = "https://search.cyplo.dev"; };
|
||||
ports = [ "8888:8080" ];
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
./atuin.nix
|
||||
./boot.nix
|
||||
./disks.nix
|
||||
./search.nix
|
||||
];
|
||||
networking.hostName = "mb1";
|
||||
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{ config, pkgs, ... }: {
|
||||
imports = [ ../nginx.nix ];
|
||||
virtualisation.oci-containers.containers.searxng = {
|
||||
image =
|
||||
"searxng/searxng@sha256:650c0b183a129e10c2493126bb27c3541ffebbead6e0255fab91831457211b06";
|
||||
volumes = [ ];
|
||||
environment = { BASE_URL = "https://search.cyplo.dev"; };
|
||||
ports = [ "9999:8080" ];
|
||||
};
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"search.cyplo.dev" = {
|
||||
|
@ -15,7 +22,7 @@
|
|||
proxy_buffer_size 256k;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://bolty:8888";
|
||||
proxyPass = "http://127.0.0.1:9999";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
|
@ -13,7 +13,6 @@
|
|||
./mastodon.nix
|
||||
./matrix-front.nix
|
||||
./rss.nix
|
||||
./search.nix
|
||||
./ssh.nix
|
||||
./syncthing-relay.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue