docker-stacks/openvpn/docker-compose.yml
2019-11-23 02:35:51 +03:00

23 lines
393 B
YAML

version: '3.7'
services:
openvpn:
image: kylemanna/openvpn
container_name: openvpn
restart: unless-stopped
cap_add:
- "NET_ADMIN"
ports:
- "1194:1194/udp"
volumes:
- "ovpn-data:/etc/openvpn"
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-1m}"
max-file: "${LOG_MAX_FILE:-5}"
volumes:
ovpn-data: