1
Fork 0

Move ports idk aFKsdlfkjsldkfj

This commit is contained in:
prescientmoon 2024-05-30 05:05:15 +02:00
parent fb9685c3eb
commit 7fa04f6724
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -24,6 +24,7 @@ in
extraOptions = [ "--network=container:openvpn-client" ]; extraOptions = [ "--network=container:openvpn-client" ];
dependsOn = [ "openvpn-client" ]; dependsOn = [ "openvpn-client" ];
volumes = [ "${dataDir}:/downloads" "${configDir}:/config" ]; volumes = [ "${dataDir}:/downloads" "${configDir}:/config" ];
ports = [ "${toString port}:${toString port}" ];
environment = { environment = {
WEBUI_PORT = toString port; WEBUI_PORT = toString port;
@ -40,7 +41,6 @@ in
]; ];
volumes = [ "${vpnConfigDir}:/data/vpn" ]; volumes = [ "${vpnConfigDir}:/data/vpn" ];
ports = [ "${toString port}:${toString port}" ];
environment = { environment = {
KILL_SWITCH = "on"; # Turns off internet access if the VPN connection drops KILL_SWITCH = "on"; # Turns off internet access if the VPN connection drops