1
0
Fork 0
dotfiles/system/nixos/voyager.nix

29 lines
684 B
Nix
Raw Normal View History

2023-07-01 14:17:40 +00:00
{
2023-07-11 09:08:34 +00:00
virtualisation.oci-containers.containers.voyager = {
image = "ghcr.io/aeharding/voyager:latest";
2023-07-01 14:17:40 +00:00
ports = [ "127.0.0.1:8014:5314" ];
extraOptions = [
"--label=com.centurylinklabs.watchtower.enable=true"
"--label=io.containers.autoupdate=registry"
];
};
2023-07-11 09:08:34 +00:00
services.nginx.virtualHosts."voyager.daniel.sx" = {
2024-07-18 21:07:07 +00:00
listenAddresses = [ "100.122.253.109" "[fd7a:115c:a1e0::3a01:fd6d]" ];
2023-07-01 14:17:40 +00:00
quic = true;
http3 = true;
onlySSL = true;
useACMEHost = "daniel.sx";
2023-07-03 08:26:35 +00:00
extraConfig = ''
client_max_body_size 32m;
'';
2023-07-01 14:17:40 +00:00
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8014";
};
};
}