Adding log limit settings to openvpn.
This commit is contained in:
parent
55c689340e
commit
e24006fc96
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue