Lägg till hälsokontroll för tjänsten i docker-compose
This commit is contained in:
@@ -13,6 +13,11 @@ services:
|
||||
- DEBUG=app
|
||||
- AUTH_USERNAME=fredrik
|
||||
- AUTH_PASSWORD=apa
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3044"]
|
||||
interval: 1m30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
||||
Reference in New Issue
Block a user