From 9c4114e9faed38a3b22d76f6802954848ffc367e Mon Sep 17 00:00:00 2001 From: Romain ROCHAS Date: Fri, 10 Oct 2025 14:28:18 +0200 Subject: [PATCH] fix(template) update n8n with new required env + image version --- templates/compose/n8n-with-postgres-and-worker.yaml | 6 ++++-- templates/compose/n8n-with-postgresql.yaml | 6 +++++- templates/compose/n8n.yaml | 6 +++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/templates/compose/n8n-with-postgres-and-worker.yaml b/templates/compose/n8n-with-postgres-and-worker.yaml index 3b9520c20..5aafddaef 100644 --- a/templates/compose/n8n-with-postgres-and-worker.yaml +++ b/templates/compose/n8n-with-postgres-and-worker.yaml @@ -7,7 +7,7 @@ services: n8n: - image: docker.n8n.io/n8nio/n8n + image: docker.n8n.io/n8nio/n8n:1.114.4 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -29,6 +29,7 @@ services: - N8N_RUNNERS_ENABLED=true - OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true - N8N_BLOCK_ENV_ACCESS_IN_NODE=${N8N_BLOCK_ENV_ACCESS_IN_NODE:-true} + - N8N_GIT_NODE_DISABLE_BARE_REPOS=${N8N_GIT_NODE_DISABLE_BARE_REPOS:-true} - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=${N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS:-true} volumes: - n8n-data:/home/node/.n8n @@ -44,7 +45,7 @@ services: retries: 10 n8n-worker: - image: docker.n8n.io/n8nio/n8n + image: docker.n8n.io/n8nio/n8n:1.114.4 command: worker environment: - GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-Europe/Berlin} @@ -62,6 +63,7 @@ services: - N8N_ENCRYPTION_KEY=${SERVICE_PASSWORD_ENCRYPTION} - N8N_RUNNERS_ENABLED=true - N8N_BLOCK_ENV_ACCESS_IN_NODE=${N8N_BLOCK_ENV_ACCESS_IN_NODE:-true} + - N8N_GIT_NODE_DISABLE_BARE_REPOS=${N8N_GIT_NODE_DISABLE_BARE_REPOS:-true} - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=${N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS:-true} volumes: - n8n-data:/home/node/.n8n diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml index e2435b115..bff391712 100644 --- a/templates/compose/n8n-with-postgresql.yaml +++ b/templates/compose/n8n-with-postgresql.yaml @@ -7,7 +7,7 @@ services: n8n: - image: docker.n8n.io/n8nio/n8n + image: docker.n8n.io/n8nio/n8n:1.114.4 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -22,6 +22,10 @@ services: - DB_POSTGRESDB_USER=$SERVICE_USER_POSTGRES - DB_POSTGRESDB_SCHEMA=public - DB_POSTGRESDB_PASSWORD=$SERVICE_PASSWORD_POSTGRES + - N8N_RUNNERS_ENABLED=${N8N_RUNNERS_ENABLED:-true} + - N8N_BLOCK_ENV_ACCESS_IN_NODE=${N8N_BLOCK_ENV_ACCESS_IN_NODE:-true} + - N8N_GIT_NODE_DISABLE_BARE_REPOS=${N8N_GIT_NODE_DISABLE_BARE_REPOS:-true} + - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=${N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS:-true} volumes: - n8n-data:/home/node/.n8n depends_on: diff --git a/templates/compose/n8n.yaml b/templates/compose/n8n.yaml index c93a660b0..d7a1cf378 100644 --- a/templates/compose/n8n.yaml +++ b/templates/compose/n8n.yaml @@ -7,7 +7,7 @@ services: n8n: - image: docker.n8n.io/n8nio/n8n + image: docker.n8n.io/n8nio/n8n:1.114.4 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -15,6 +15,10 @@ services: - N8N_HOST=${SERVICE_URL_N8N} - GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-Europe/Berlin} - TZ=${TZ:-Europe/Berlin} + - N8N_RUNNERS_ENABLED=${N8N_RUNNERS_ENABLED:-true} + - N8N_BLOCK_ENV_ACCESS_IN_NODE=${N8N_BLOCK_ENV_ACCESS_IN_NODE:-true} + - N8N_GIT_NODE_DISABLE_BARE_REPOS=${N8N_GIT_NODE_DISABLE_BARE_REPOS:-true} + - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=${N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS:-true} volumes: - n8n-data:/home/node/.n8n healthcheck: