1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/openvpn/arm/docker-compose.yml

31 lines
535 B
YAML
Raw Normal View History

2016-07-11 11:30:09 +02:00
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
2016-07-11 09:26:35 +02:00
restart: always
2016-07-12 08:46:59 +02:00
2016-07-12 09:23:52 +02:00
openvpn:
image: easypi/openvpn-arm
command: --config pi.ovpn
volumes:
- ./data:/etc/openvpn
net: host
privileged: yes
restart: always
2016-07-12 08:46:59 +02:00
dnsmasq:
image: easypi/dnsmasq-arm
volumes:
- ./data/dnsmasq.conf:/etc/dnsmasq.d/dnsmasq.conf
cap_add:
- NET_ADMIN
net: host
restart: always