add healthcheck to azimutt
This commit is contained in:
parent
8d2fef558f
commit
ef821b2c2d
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue