@@ -39,9 +39,10 @@ services:
3939 FTLCONF_dhcp_router : " ${PIHOLE_DHCP_ROUTER}"
4040 FTLCONF_dhcp_leaseTime : " 24h"
4141 FTLCONF_dhcp_ipv6 : " true"
42+ FTLCONF_dns_etc_dnsmasq_d : " true"
4243 volumes :
4344 - " ./pihole:/etc/pihole"
44- - " ./pihole/dnsmasq.d:/etc/dnsmasq.d:ro"
45+ - " ./pihole/dnsmasq.d/05-custom-wildcards.conf :/etc/dnsmasq.d/05-custom-wildcards.conf :ro"
4546 cap_add :
4647 - NET_ADMIN
4748 - SYS_TIME
@@ -70,7 +71,11 @@ services:
7071 - " ./unbound:/opt/unbound/etc/unbound"
7172 restart : unless-stopped
7273 healthcheck :
73- test : ["CMD-SHELL", "unbound-control -c /opt/unbound/etc/unbound/unbound.conf status"]
74+ test :
75+ [
76+ " CMD-SHELL" ,
77+ " unbound-control -c /opt/unbound/etc/unbound/unbound.conf status" ,
78+ ]
7479 interval : 30s
7580 timeout : 10s
7681 retries : 3
@@ -102,7 +107,15 @@ services:
102107 - IP_UPTIME_KUMA=${IP_UPTIME_KUMA}
103108 - IP_UMAMI_APP=${IP_UMAMI_APP}
104109 healthcheck :
105- test : ["CMD", "wget", "--quiet", "--spider", "--tries=1", "http://localhost:8081/health"]
110+ test :
111+ [
112+ " CMD" ,
113+ " wget" ,
114+ " --quiet" ,
115+ " --spider" ,
116+ " --tries=1" ,
117+ " http://localhost:8081/health" ,
118+ ]
106119 interval : 30s
107120 timeout : 10s
108121 retries : 3
@@ -144,9 +157,12 @@ services:
144157 DATABASE_TYPE : postgresql
145158 APP_SECRET : ${UMAMI_APP_SECRET}
146159 TZ : " America/New_York"
147- DISABLE_LOGIN : " false"
148160 healthcheck :
149- test : ["CMD-SHELL", "wget --quiet --spider --tries=1 http://localhost:3000 || exit 1"]
161+ test :
162+ [
163+ " CMD-SHELL" ,
164+ " wget --quiet --spider --tries=1 http://127.0.0.1:3000/api/heartbeat || exit 1" ,
165+ ]
150166 interval : 30s
151167 timeout : 10s
152168 retries : 3
@@ -170,7 +186,11 @@ services:
170186 macvlan :
171187 ipv4_address : ${IP_PROMETHEUS}
172188 healthcheck :
173- test : ["CMD-SHELL", "wget --quiet --spider --tries=1 http://localhost:9090/-/healthy || exit 1"]
189+ test :
190+ [
191+ " CMD-SHELL" ,
192+ " wget --quiet --spider --tries=1 http://localhost:9090/-/healthy || exit 1" ,
193+ ]
174194 interval : 30s
175195 timeout : 10s
176196 retries : 3
@@ -193,7 +213,11 @@ services:
193213 macvlan :
194214 ipv4_address : ${IP_GRAFANA}
195215 healthcheck :
196- test : ["CMD-SHELL", "wget --quiet --spider --tries=1 http://localhost:3000/api/health || exit 1"]
216+ test :
217+ [
218+ " CMD-SHELL" ,
219+ " wget --quiet --spider --tries=1 http://localhost:3000/api/health || exit 1" ,
220+ ]
197221 interval : 30s
198222 timeout : 10s
199223 retries : 3
@@ -216,7 +240,11 @@ services:
216240 - " --path.rootfs=/rootfs"
217241 - " --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)"
218242 healthcheck :
219- test : ["CMD-SHELL", "wget --quiet --spider --tries=1 http://localhost:9100/metrics || exit 1"]
243+ test :
244+ [
245+ " CMD-SHELL" ,
246+ " wget --quiet --spider --tries=1 http://localhost:9100/metrics || exit 1" ,
247+ ]
220248 interval : 30s
221249 timeout : 10s
222250 retries : 3
@@ -252,7 +280,11 @@ services:
252280 macvlan :
253281 ipv4_address : ${IP_BLACKBOX}
254282 healthcheck :
255- test : ["CMD-SHELL", "wget --quiet --spider --tries=1 http://localhost:9115 || exit 1"]
283+ test :
284+ [
285+ " CMD-SHELL" ,
286+ " wget --quiet --spider --tries=1 http://localhost:9115 || exit 1" ,
287+ ]
256288 interval : 30s
257289 timeout : 10s
258290 retries : 3
0 commit comments