Add log rotation
This commit is contained in:
parent
df4f065a30
commit
5c558950e4
1 changed files with 6 additions and 1 deletions
|
|
@ -17,4 +17,9 @@ services:
|
||||||
SYNC_INTERVAL: 123
|
SYNC_INTERVAL: 123
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./configs:/configs
|
- ./configs:/configs
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "50m"
|
||||||
|
max-file: "3"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue