docker-OpenVPN-server-stack/docker-compose.yml

20 lines
366 B
YAML
Raw Normal View History

2019-04-14 16:34:38 +00:00
version: "2.1"
services:
openvpn-server:
image: openvpn-server
ports:
- 1195:1194/udp
volumes:
- ./conf/keys:/etc/openvpn/server/keys
- ./conf/ccd:/etc/openvpn/server/ccd
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
#entrypoint: /bin/bash
#privileged: true
#network_mode: "host"