2005
9216cbbf62
added logging to all nginx routes added loki, promtail to scrape nginx logs turned i2pd back on, updated my websites version upgraded all hosts to 24.05 forgejo added bigger limit to upload limit due to docker images privacy frontends: added priviblur libreddit -> redlib added biblioreads ddns-updater, changed credentials but there is a bug with porkbun added penpot brought back anonymousoverflow added readme privacy respecting frontends
32 lines
576 B
Nix
32 lines
576 B
Nix
{ pkgs, config, ... }: {
|
|
# TODO rework the whole thing
|
|
virtualisation.oci-containers.containers = {
|
|
|
|
searxng = {
|
|
image = "docker.io/searxng/searxng:latest";
|
|
ports = [
|
|
"3345:3000"
|
|
];
|
|
};
|
|
};
|
|
|
|
services.redis.servers = {
|
|
searxng = {
|
|
port = 3442;
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
services.nginx = {
|
|
virtualHosts = {
|
|
"librey.${config.networking.domain}" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/" = {
|
|
proxyPass = " http://127.0.0.1:3345";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|