Add Docker healthcheck to docker-compose.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f7571757ee
commit
e499116c48
|
|
@ -14,6 +14,12 @@ services:
|
||||||
- "traefik.http.routers.zoomcal.rule=Host(`zoomcal.jeffemmett.com`)"
|
- "traefik.http.routers.zoomcal.rule=Host(`zoomcal.jeffemmett.com`)"
|
||||||
- "traefik.http.routers.zoomcal.entrypoints=web"
|
- "traefik.http.routers.zoomcal.entrypoints=web"
|
||||||
- "traefik.http.services.zoomcal.loadbalancer.server.port=3000"
|
- "traefik.http.services.zoomcal.loadbalancer.server.port=3000"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 15s
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- pkmn_pkmn-internal
|
- pkmn_pkmn-internal
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue