Move qbit port declaration to vpn
This commit is contained in:
parent
82fca70a6e
commit
987faea200
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue