restrict the logs size with 100MB

This commit is contained in:
Alexander Bersenev
2020-03-17 03:11:13 +05:00
parent 37d570f8dc
commit ea3b8a44c3

View File

@@ -7,4 +7,9 @@ services:
volumes: volumes:
- ./config.py:/home/tgproxy/config.py - ./config.py:/home/tgproxy/config.py
- ./mtprotoproxy.py:/home/tgproxy/mtprotoproxy.py - ./mtprotoproxy.py:/home/tgproxy/mtprotoproxy.py
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "10m"
# mem_limit: 1024m # mem_limit: 1024m