Add Docker healthcheck to docker-compose.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a5bc8daa48
commit
516ea45aa2
|
|
@ -7,6 +7,12 @@ services:
|
|||
- "traefik.http.routers.flow-funding.rule=Host(`flowidity.io`) && PathPrefix(`/tbff`)"
|
||||
- "traefik.http.routers.flow-funding.priority=100"
|
||||
- "traefik.http.services.flow-funding.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:
|
||||
- traefik-public
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue