Skip to content

Commit 2443b15

Browse files
authored
Update healthcheck URL to use 0.0.0.0
This fixes the error: `wget: can't connect to remote host: Connection refused`
1 parent 4083238 commit 2443b15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ services:
1111
- HOST=0.0.0.0
1212
restart: unless-stopped
1313
healthcheck:
14-
test: ["CMD", "wget", "-qO-", "http://localhost:3000/health"]
14+
test: ["CMD", "wget", "-qO-", "http://0.0.0.0:3000/health"]
1515
interval: 30s
1616
timeout: 10s
1717
retries: 3
18-
start_period: 40s
18+
start_period: 40s

0 commit comments

Comments
 (0)