Skip to content

Commit ef821b2

Browse files
committed
add healthcheck to azimutt
1 parent 8d2fef5 commit ef821b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

templates/compose/azimutt.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,9 @@ services:
9090
- SMTP_USERNAME=$SERVICE_EMAIL_SMTP
9191
- SMTP_PASSWORD=$SERVICE_PASSWORD_SMTP
9292
- SMTP_PORT=${SMTP_PORT:-587}
93+
healthcheck:
94+
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-4000}/ping"]
95+
interval: 30s
96+
timeout: 10s
97+
retries: 3
98+
start_period: 40s

0 commit comments

Comments
 (0)