Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(templates): fix n8n and task-runners health check endpoints

Frank Raae895a1d23681
diff --git a/templates/compose/n8n-with-postgres-and-worker.yaml b/templates/compose/n8n-with-postgres-and-worker.yaml
index b7d381399a..2860385518 100644
--- a/templates/compose/n8n-with-postgres-and-worker.yaml
+++ b/templates/compose/n8n-with-postgres-and-worker.yaml
@@ -48,7 +48,7 @@ services:
redis:
condition: service_healthy
healthcheck:
- test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/"]
+ test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/healthz"]
interval: 5s
timeout: 20s
retries: 10
@@ -133,7 +133,7 @@ services:
healthcheck:
test:
- CMD-SHELL
- - 'wget -qO- http://127.0.0.1:5680/'
+ - 'wget -qO- http://127.0.0.1:5680/healthz'
interval: 5s
timeout: 20s
retries: 10
diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml
index d7096add2a..4d1f9e970b 100644
--- a/templates/compose/n8n-with-postgresql.yaml
+++ b/templates/compose/n8n-with-postgresql.yaml
@@ -41,7 +41,7 @@ services:
postgresql:
condition: service_healthy
healthcheck:
- test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/"]
+ test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/healthz"]
interval: 5s
timeout: 20s
retries: 10
@@ -58,7 +58,7 @@ services:
healthcheck:
test:
- CMD-SHELL
- - 'wget -qO- http://127.0.0.1:5680/'
+ - 'wget -qO- http://127.0.0.1:5680/healthz'
interval: 5s
timeout: 20s
retries: 10
diff --git a/templates/compose/n8n.yaml b/templates/compose/n8n.yaml
index ff5ee90b2d..46a1a9fc5b 100644
--- a/templates/compose/n8n.yaml
+++ b/templates/compose/n8n.yaml
@@ -32,7 +32,7 @@ services:
volumes:
- n8n-data:/home/node/.n8n
healthcheck:
- test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/"]
+ test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/healthz"]
interval: 5s
timeout: 20s
retries: 10
@@ -49,7 +49,7 @@ services:
healthcheck:
test:
- CMD-SHELL
- - 'wget -qO- http://127.0.0.1:5680/'
+ - 'wget -qO- http://127.0.0.1:5680/healthz'
interval: 5s
timeout: 20s
retries: 10