1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/openvpn/arm/docker-compose.yml
2016-07-12 16:01:42 +08:00

31 lines
535 B
YAML

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
openvpn:
image: easypi/openvpn-arm
command: --config pi.ovpn
volumes:
- ./data:/etc/openvpn
net: host
privileged: yes
restart: always
dnsmasq:
image: easypi/dnsmasq-arm
volumes:
- ./data/dnsmasq.conf:/etc/dnsmasq.d/dnsmasq.conf
cap_add:
- NET_ADMIN
net: host
restart: always