File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -365,6 +365,11 @@ services:
365365 - UN_RADARR_0_API_KEY=${RADARR_API_KEY}
366366 security_opt :
367367 - no-new-privileges:true
368+ logging :
369+ driver : " json-file"
370+ options :
371+ max-size : " 10m"
372+ max-file : " 5"
368373 cleanuparr :
369374 image : ghcr.io/cleanuparr/cleanuparr:latest
370375 container_name : cleanuparr
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ services:
4545 volumes :
4646 - ${CONFIG_ROOT:-.}/homeassistant/mosquitto/config:/mosquitto/config
4747 - ${CONFIG_ROOT:-.}/homeassistant/mosquitto/data:/mosquitto/data
48- - ${CONFIG_ROOT:-.}/homeassistant/mosquitto/log:/mosquitto/log
4948 ports :
5049 - " 1883:1883"
5150 healthcheck :
@@ -67,6 +66,11 @@ services:
6766 interval : 1m
6867 timeout : 10s
6968 retries : 3
69+ logging :
70+ driver : " json-file"
71+ options :
72+ max-size : " 10m"
73+ max-file : " 5"
7074 profiles :
7175 - mqtt
7276 homeassistant-backup :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ persistence_location /mosquitto/data
44password_file /mosquitto/config/pwfile
55allow_anonymous false
66
7- log_dest file /mosquitto/log/mosquitto.log
7+ log_dest stderr
88
99listener 1883
1010
You can’t perform that action at this time.
0 commit comments