Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

add healthcheck to azimutt

peaklabs-devef821b2c2de8
diff --git a/templates/compose/azimutt.yaml b/templates/compose/azimutt.yaml
index fcf75d0616..faedefa0e8 100644
--- a/templates/compose/azimutt.yaml
+++ b/templates/compose/azimutt.yaml
@@ -90,3 +90,9 @@ services:
- SMTP_USERNAME=$SERVICE_EMAIL_SMTP
- SMTP_PASSWORD=$SERVICE_PASSWORD_SMTP
- SMTP_PORT=${SMTP_PORT:-587}
+ healthcheck:
+ test: ["CMD", "curl", "-f", "http://localhost:${PORT:-4000}/ping"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 40s