docker-stacks/openvpn/docker-compose.yml

23 lines
393 B
YAML
Raw Normal View History

2019-04-10 18:23:11 +00:00
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"
2019-11-22 23:35:51 +00:00
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-1m}"
max-file: "${LOG_MAX_FILE:-5}"
2019-04-10 18:23:11 +00:00
volumes:
ovpn-data: