Restrict log size of NodeBB NGINX

This commit is contained in:
Sam Al-Sapti 2025-02-25 00:10:43 +01:00
parent 9baebb443e
commit 7e9ad6c8f5
No known key found for this signature in database
GPG key ID: CBBBE7371E81C4EA

View file

@ -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