mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update docker-compose.yml
This commit is contained in:
@@ -3,7 +3,19 @@ openvpn:
|
||||
command: --config pi.ovpn
|
||||
volumes:
|
||||
- ./data:/etc/openvpn
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
net: host
|
||||
privileged: yes
|
||||
restart: always
|
||||
|
||||
stunnel:
|
||||
image: easypi/stunnel-arm
|
||||
ports:
|
||||
- "1194:1194"
|
||||
environment:
|
||||
- CLIENT=yes
|
||||
- SERVICE=openvpn
|
||||
- ACCEPT=0.0.0.0:1194
|
||||
- CONNECT=server:4911
|
||||
extra_hosts:
|
||||
- server:1.2.3.4
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user