dockerfiles/openvpn/docker-compose.yml
2017-12-16 18:57:21 -05:00

11 lines
170 B
YAML

vpn:
build: .
volumes:
- .:/etc/openvpn
- /etc/resolv.conf:/etc/resolv.conf
net: host
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- NET_ADMIN