Fix VPN
This commit is contained in:
parent
c2a8d0c91e
commit
74f89f484d
|
@ -10,4 +10,6 @@ services:
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /dev/net/tun:/dev/net/tun
|
||||||
dns: 10.0.0.1
|
dns: 10.0.0.1
|
||||||
entrypoint: "sh -c 'echo ${VPN_PASSWORD} | openvpn --cd /vpn/ --config lab.ovpn --askpass /dev/stdin'"
|
environment:
|
||||||
|
- VPN_PASSWORD
|
||||||
|
entrypoint: "sh -c 'echo $$VPN_PASSWORD | openvpn --cd /vpn/ --config lab.ovpn --askpass /dev/stdin'"
|
||||||
|
|
Loading…
Reference in New Issue