Use tcp health check

This commit is contained in:
Robert van Diest
2026-03-25 20:11:26 +01:00
parent c135fec753
commit 51b9e5c1e7
2 changed files with 1 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ services:
- db-data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
test: ["CMD-SHELL", "bash -c '</dev/tcp/localhost/8080'"]
interval: 10s
timeout: 5s
retries: 5