1
Fork 0

Move qbit port declaration to vpn

This commit is contained in:
prescientmoon 2024-06-10 15:11:50 +02:00
parent 82fca70a6e
commit 987faea200
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -26,7 +26,6 @@ in
extraOptions = [ "--network=container:gluetun" ];
dependsOn = [ "gluetun" ];
volumes = [ "${dataDir}:/downloads" "${configDir}:/config" ];
ports = [ "${toString port}:${toString port}" ];
environment = {
WEBUI_PORT = toString port;
@ -42,6 +41,7 @@ in
"--cap-add=net_admin"
"--device=/dev/net/tun"
];
ports = [ "${toString port}:${toString port}" ];
environmentFiles = [ config.sops.secrets.vpn_env.path ];
environment = {