Use container hostname for Cal healthcheck
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ services:
|
||||
networks:
|
||||
- cal-diy
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"]
|
||||
test: ["CMD-SHELL", "wget --spider -q http://$$(hostname):3000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user