Move ports idk aFKsdlfkjsldkfj
This commit is contained in:
parent
fb9685c3eb
commit
7fa04f6724
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue