1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:34 +02:00
dockerfiles/openvpn/docker-compose-stunnel.yml
2016-09-19 13:04:07 +08:00

23 lines
355 B
YAML

openvpn:
image: kylemanna/openvpn
ports:
- "1194:1194"
volumes:
- ./data:/etc/openvpn
cap_add:
- NET_ADMIN
restart: always
stunnel:
image: vimagick/stunnel
ports:
- "4911:4911"
links:
- openvpn
environment:
- CLIENT=no
- SERVICE=openvpn
- ACCEPT=0.0.0.0:4911
- CONNECT=openvpn:1194
restart: always