mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
11 lines
170 B
YAML
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
|