mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-09 08:50:05 +08:00
Limit log size as most information is written to Redis
This commit is contained in:
parent
674202012e
commit
b051870ba4
@ -93,6 +93,9 @@ services:
|
||||
- dkim-vol-1:/data/dkim
|
||||
- rspamd-vol-1:/var/lib/rspamd
|
||||
restart: always
|
||||
logging:
|
||||
options:
|
||||
max-size: "5m"
|
||||
dns:
|
||||
- 172.22.1.254
|
||||
dns_search: mailcow-network
|
||||
@ -119,6 +122,9 @@ services:
|
||||
- DBPASS=${DBPASS}
|
||||
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
|
||||
restart: always
|
||||
logging:
|
||||
options:
|
||||
max-size: "5m"
|
||||
dns:
|
||||
- 172.22.1.254
|
||||
dns_search: mailcow-network
|
||||
@ -143,6 +149,9 @@ services:
|
||||
- ./data/conf/sogo/:/etc/sogo/
|
||||
- ./data/web/thunderbird-plugins:/thunderbird
|
||||
restart: always
|
||||
logging:
|
||||
options:
|
||||
max-size: "5m"
|
||||
dns:
|
||||
- 172.22.1.254
|
||||
dns_search: mailcow-network
|
||||
@ -168,6 +177,9 @@ services:
|
||||
- DBNAME=${DBNAME}
|
||||
- DBUSER=${DBUSER}
|
||||
- DBPASS=${DBPASS}
|
||||
logging:
|
||||
options:
|
||||
max-size: "5m"
|
||||
ports:
|
||||
- "${IMAP_PORT:-143}:143"
|
||||
- "${IMAPS_PORT:-993}:993"
|
||||
@ -204,6 +216,9 @@ services:
|
||||
- "${SMTPS_PORT:-465}:465"
|
||||
- "${SUBMISSION_PORT:-587}:587"
|
||||
restart: always
|
||||
logging:
|
||||
options:
|
||||
max-size: "5m"
|
||||
dns:
|
||||
- 172.22.1.254
|
||||
dns_search: mailcow-network
|
||||
@ -250,6 +265,9 @@ services:
|
||||
- ./data/conf/rspamd/dynmaps:/dynmaps:ro
|
||||
- ./data/assets/ssl/:/etc/ssl/mail/:ro
|
||||
- ./data/conf/nginx/:/etc/nginx/conf.d/:rw
|
||||
logging:
|
||||
options:
|
||||
max-size: "5m"
|
||||
ports:
|
||||
- "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}"
|
||||
- "${HTTP_BIND:-127.0.0.1}:${HTTP_PORT:-80}:${HTTP_PORT:-80}"
|
||||
|
Loading…
Reference in New Issue
Block a user