Restrict docker log size for nginx-proxy
It easily gets gargantuan.
This commit is contained in:
parent
75681c72cd
commit
ccc20902ea
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ services:
|
|||
- "./dhparam:/etc/nginx/dhparam"
|
||||
- "./certs:/etc/nginx/certs:ro"
|
||||
- "/var/run/docker.sock:/tmp/docker.sock:ro"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: 10
|
||||
compress: true
|
||||
labels:
|
||||
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue