Adding log limit settings to openvpn.

This commit is contained in:
Alexey Skobkin 2019-11-23 02:35:51 +03:00
parent 55c689340e
commit e24006fc96
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -11,6 +11,12 @@ services:
- "1194:1194/udp" - "1194:1194/udp"
volumes: volumes:
- "ovpn-data:/etc/openvpn" - "ovpn-data:/etc/openvpn"
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-1m}"
max-file: "${LOG_MAX_FILE:-5}"
volumes: volumes:
ovpn-data: ovpn-data: