Add Docker healthcheck to docker-compose.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
65c04f3b36
commit
0a99185078
|
|
@ -12,6 +12,12 @@ services:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.transcribe.rule=Host(`transcribe.jeffemmett.com`)"
|
- "traefik.http.routers.transcribe.rule=Host(`transcribe.jeffemmett.com`)"
|
||||||
- "traefik.http.services.transcribe.loadbalancer.server.port=80"
|
- "traefik.http.services.transcribe.loadbalancer.server.port=80"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:80/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 15s
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue