mirror of
https://github.com/meienberger/runtipi.git
synced 2024-09-11 12:15:48 +03:00
chore(docker-compose): add healthchecks for runtipi container
This commit is contained in:
parent
bf14df3e4b
commit
1384940bf5
@ -4,7 +4,8 @@ services:
|
||||
runtipi-reverse-proxy:
|
||||
container_name: runtipi-reverse-proxy
|
||||
depends_on:
|
||||
- runtipi
|
||||
runtipi:
|
||||
condition: service_healthy
|
||||
image: traefik:v2.11
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@ -65,6 +66,11 @@ services:
|
||||
SENTRY_DISABLE_AUTO_UPLOAD: true
|
||||
TIPI_VERSION: development
|
||||
container_name: runtipi
|
||||
healthcheck:
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:5000/worker-api/healthcheck']
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
runtipi-db:
|
||||
|
Loading…
Reference in New Issue
Block a user