Skip to content

Commit 1ede0f1

Browse files
committed
βš“ Unified healthcheck timing: hoisted shared anchor for cleaner sails
1 parent 3cd8bdf commit 1ede0f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

β€Ždocker-compose.ymlβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ services:
194194

195195
# Define container healthcheck to verify FlareSolverr connectivity
196196
healthcheck:
197-
test: ["CMD-SHELL", "curl -s http://localhost:8191 | grep -q 'FlareSolverr'"] # Check if FlareSolverr UI is reachable
198-
<<: *default-healthcheck-settings # Pull in default healthcheck settings
197+
test: ["CMD-SHELL", "curl -s http://localhost:${FLARESOLVERR_PORT} | grep -q 'FlareSolverr'"] # Check if FlareSolverr UI is reachable
198+
<<: *default-healthcheck-settings # Pull in default healthcheck settings
199199

200200
#
201201
# Define the 'prowlarr' service for managing indexers
@@ -266,8 +266,8 @@ services:
266266

267267
# Define container healthcheck to verify Radarr connectivity
268268
healthcheck:
269-
test: ["CMD-SHELL", "wget -qO- http://localhost:7878 | grep -q 'Radarr'"] # Check if Radarr web UI is reachable
270-
<<: *default-healthcheck-settings # Pull in default healthcheck settings
269+
test: ["CMD-SHELL", "wget -qO- http://localhost:${RADARR_WEBUI_PORT} | grep -q 'Radarr'"] # Check if Radarr web UI is reachable
270+
<<: *default-healthcheck-settings # Pull in default healthcheck settings
271271

272272
# Specify container service dependencies
273273
depends_on:
@@ -326,8 +326,8 @@ services:
326326

327327
# Define container healthcheck to verify Bazarr connectivity
328328
healthcheck:
329-
test: ["CMD-SHELL", "wget -qO- http://localhost:6767 | grep -q 'Bazarr'"] # Check if Bazarr web UI is reachable
330-
<<: *default-healthcheck-settings # Pull in default healthcheck settings
329+
test: ["CMD-SHELL", "wget -qO- http://localhost:${BAZARR_WEBUI_PORT} | grep -q 'Bazarr'"] # Check if Bazarr web UI is reachable
330+
<<: *default-healthcheck-settings # Pull in default healthcheck settings
331331

332332
# Specify container service dependencies
333333
depends_on:

0 commit comments

Comments
Β (0)