Add healthcheck configuration to deploy-compose.swarm.yml for improved service monitoring
Some checks failed
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Has been cancelled

This commit is contained in:
2025-12-10 01:50:28 +00:00
parent dd632d05e3
commit 3787541733

View File

@@ -37,6 +37,12 @@ services:
- /home/trav/biz-bud:/mnt/biz-bud
- /home/trav/portainer:/mnt/portainer
- /home/trav/repos:/mnt/repos
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3080/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
deploy:
replicas: 1
restart_policy: