Restrict log size of NodeBB NGINX
This commit is contained in:
parent
9baebb443e
commit
7e9ad6c8f5
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ services:
|
||||||
VIRTUAL_PORT: 80
|
VIRTUAL_PORT: 80
|
||||||
LETSENCRYPT_HOST: {{ services.fedi_dk_nodebb.domain }}
|
LETSENCRYPT_HOST: {{ services.fedi_dk_nodebb.domain }}
|
||||||
LETSENCRYPT_EMAIL: {{ letsencrypt_email }}
|
LETSENCRYPT_EMAIL: {{ letsencrypt_email }}
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "50m"
|
||||||
|
max-file: 10
|
||||||
|
compress: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue