Add healthcheck for Umami service and update service-templates.json

This commit is contained in:
Andras Bacsai
2024-03-18 15:40:25 +01:00
parent ef2be40478
commit 19d19112d9
2 changed files with 6 additions and 1 deletions

View File

@@ -15,6 +15,11 @@ services:
depends_on:
postgresql:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/heartbeat"]
interval: 5s
timeout: 20s
retries: 10
postgresql:
image: postgres:16-alpine
volumes: