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

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

No files matched your search

+5
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: