add in env var for script on startup

pull/234/head
binhex 10 months ago
parent fa8685875e
commit 7df274ac3b

@ -38,6 +38,7 @@ docker run -d \
-e VPN_OPTIONS=<additional openvpn cli options> \ -e VPN_OPTIONS=<additional openvpn cli options> \
-e STRICT_PORT_FORWARD=<yes|no> \ -e STRICT_PORT_FORWARD=<yes|no> \
-e ENABLE_PRIVOXY=<yes|no> \ -e ENABLE_PRIVOXY=<yes|no> \
-e ENABLE_STARTUP_SCRIPTS=<yes|no> \
-e LAN_NETWORK=<lan ipv4 network>/<cidr notation> \ -e LAN_NETWORK=<lan ipv4 network>/<cidr notation> \
-e NAME_SERVERS=<name server ip(s)> \ -e NAME_SERVERS=<name server ip(s)> \
-e VPN_INPUT_PORTS=<port number(s)> \ -e VPN_INPUT_PORTS=<port number(s)> \
@ -57,7 +58,7 @@ Please replace all user variables in the above command defined by <> with the co
`http://<host ip>:8080/` `http://<host ip>:8080/`
Username:- admin Username:- admin
Password:- adminadmin Password:- randomly generated if not defined - see `/config/supervisord.log`
**Access Privoxy** **Access Privoxy**
@ -82,6 +83,7 @@ docker run -d \
-e VPN_CLIENT=openvpn \ -e VPN_CLIENT=openvpn \
-e STRICT_PORT_FORWARD=yes \ -e STRICT_PORT_FORWARD=yes \
-e ENABLE_PRIVOXY=yes \ -e ENABLE_PRIVOXY=yes \
-e ENABLE_STARTUP_SCRIPTS=no \
-e LAN_NETWORK=192.168.1.0/24 \ -e LAN_NETWORK=192.168.1.0/24 \
-e NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1 \ -e NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1 \
-e VPN_INPUT_PORTS=1234 \ -e VPN_INPUT_PORTS=1234 \
@ -129,6 +131,7 @@ docker run -d \
-e VPN_PROV=airvpn \ -e VPN_PROV=airvpn \
-e VPN_CLIENT=openvpn \ -e VPN_CLIENT=openvpn \
-e ENABLE_PRIVOXY=yes \ -e ENABLE_PRIVOXY=yes \
-e ENABLE_STARTUP_SCRIPTS=no \
-e LAN_NETWORK=192.168.1.0/24 \ -e LAN_NETWORK=192.168.1.0/24 \
-e NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1 \ -e NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1 \
-e VPN_INPUT_PORTS=1234 \ -e VPN_INPUT_PORTS=1234 \

Loading…
Cancel
Save