Merge pull request #122 from qaribhaider/fix/n8n-compose-health-check

Use wget since n8n image goes not have curl
This commit is contained in:
Romuald Członkowski
2025-08-06 22:24:12 +02:00
committed by GitHub

View File

@@ -22,7 +22,7 @@ services:
networks:
- n8n-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5678/healthz"]
test: ["CMD", "sh", "-c", "wget --quiet --spider --tries=1 --timeout=10 http://localhost:5678/healthz || exit 1"]
interval: 30s
timeout: 10s
retries: 3