Merge pull request 'Restrict docker log size for nginx-proxy' (#234) from log-max into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/234 Reviewed-by: valberg <valberg@orn.li>
This commit is contained in:
commit
8143a835f8
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ services:
|
||||||
- "./dhparam:/etc/nginx/dhparam"
|
- "./dhparam:/etc/nginx/dhparam"
|
||||||
- "./certs:/etc/nginx/certs:ro"
|
- "./certs:/etc/nginx/certs:ro"
|
||||||
- "/var/run/docker.sock:/tmp/docker.sock:ro"
|
- "/var/run/docker.sock:/tmp/docker.sock:ro"
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "50m"
|
||||||
|
max-file: 10
|
||||||
|
compress: "true"
|
||||||
labels:
|
labels:
|
||||||
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
|
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue