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
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ services:
- "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: