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
|
./print-server.nix
|
||||||
./real-hardware.nix
|
./real-hardware.nix
|
||||||
./restic-server.nix
|
./restic-server.nix
|
||||||
./search.nix
|
|
||||||
./tailscale-cert.nix
|
./tailscale-cert.nix
|
||||||
./virtualisation.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
|
./atuin.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./disks.nix
|
./disks.nix
|
||||||
|
./search.nix
|
||||||
];
|
];
|
||||||
networking.hostName = "mb1";
|
networking.hostName = "mb1";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
imports = [ ../nginx.nix ];
|
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 = {
|
services.nginx = {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"search.cyplo.dev" = {
|
"search.cyplo.dev" = {
|
||||||
|
@ -15,7 +22,7 @@
|
||||||
proxy_buffer_size 256k;
|
proxy_buffer_size 256k;
|
||||||
'';
|
'';
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://bolty:8888";
|
proxyPass = "http://127.0.0.1:9999";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
|
@ -13,7 +13,6 @@
|
||||||
./mastodon.nix
|
./mastodon.nix
|
||||||
./matrix-front.nix
|
./matrix-front.nix
|
||||||
./rss.nix
|
./rss.nix
|
||||||
./search.nix
|
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./syncthing-relay.nix
|
./syncthing-relay.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue