From f0b6e82e5fdbc5264485a0cd13077166ac6994ff Mon Sep 17 00:00:00 2001 From: djeber Date: Fri, 19 Dec 2025 02:32:48 +0100 Subject: [PATCH 1/6] Update n8n-with-postgresql.yaml --- templates/compose/n8n-with-postgresql.yaml | 28 +++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml index 94648e958..107aba5e0 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:1.119.2 + image: n8nio/n8n:stable environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -23,10 +23,17 @@ services: - DB_POSTGRESDB_SCHEMA=public - DB_POSTGRESDB_PASSWORD=$SERVICE_PASSWORD_POSTGRES - N8N_RUNNERS_ENABLED=${N8N_RUNNERS_ENABLED:-true} + - N8N_RUNNERS_MODE=${N8N_RUNNERS_MODE:-external} + - N8N_RUNNERS_BROKER_LISTEN_ADDRESS=${N8N_RUNNERS_BROKER_LISTEN_ADDRESS:-0.0.0.0} + - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N + - N8N_RUNNERS_BROKER_PORT=${N8N_RUNNERS_BROKER_PORT:-5679} + - N8N_RUNNERS_N8N_CONCURRENCY=${N8N_RUNNERS_N8N_CONCURRENCY:-0} + - N8N_NATIVE_PYTHON_RUNNER=${N8N_NATIVE_PYTHON_RUNNER:-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} - N8N_PROXY_HOPS=${N8N_PROXY_HOPS:-1} + - N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=${N8N_SKIP_AUTH_ON_OAUTH_CALLBACK:-false} volumes: - n8n-data:/home/node/.n8n depends_on: @@ -37,6 +44,22 @@ services: interval: 5s timeout: 20s retries: 10 + task-runners: + image: n8nio/runners:stable + environment: + - N8N_RUNNERS_TASK_BROKER_URI=${N8N_RUNNERS_TASK_BROKER_URI:-http://n8n:5679} + - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N + - N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT=${N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT:-15} + - N8N_RUNNERS_ENABLED=${N8N_RUNNERS_ENABLED:-javascript,python} + depends_on: + - n8n + healthcheck: + test: + - CMD-SHELL + - 'wget -qO- http://127.0.0.1:5680/' + interval: 5s + timeout: 20s + retries: 10 postgresql: image: postgres:16-alpine volumes: @@ -50,3 +73,6 @@ services: interval: 5s timeout: 20s retries: 10 +volumes: + n8n-data: + postgresql-data: From 07f99fec68a4ce24515ec4f362a87bfd7571c701 Mon Sep 17 00:00:00 2001 From: djeber Date: Fri, 19 Dec 2025 08:57:20 +0100 Subject: [PATCH 2/6] Update n8n and task-runners images to version 2.0.3 --- templates/compose/n8n-with-postgresql.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml index 107aba5e0..75ceaa8d0 100644 --- a/templates/compose/n8n-with-postgresql.yaml +++ b/templates/compose/n8n-with-postgresql.yaml @@ -7,7 +7,7 @@ services: n8n: - image: n8nio/n8n:stable + image: n8nio/n8n:2.0.3 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -45,7 +45,7 @@ services: timeout: 20s retries: 10 task-runners: - image: n8nio/runners:stable + image: n8nio/runners:2.0.3 environment: - N8N_RUNNERS_TASK_BROKER_URI=${N8N_RUNNERS_TASK_BROKER_URI:-http://n8n:5679} - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N @@ -73,6 +73,3 @@ services: interval: 5s timeout: 20s retries: 10 -volumes: - n8n-data: - postgresql-data: From 535f0afb733d851d7f9171fb9a826ae6082598cf Mon Sep 17 00:00:00 2001 From: djeber Date: Tue, 23 Dec 2025 09:11:58 +0100 Subject: [PATCH 3/6] Upgrade n8n and runners images to version 2.1.2 --- templates/compose/n8n-with-postgresql.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml index 75ceaa8d0..0809664c3 100644 --- a/templates/compose/n8n-with-postgresql.yaml +++ b/templates/compose/n8n-with-postgresql.yaml @@ -7,7 +7,7 @@ services: n8n: - image: n8nio/n8n:2.0.3 + image: n8nio/n8n:2.1.2 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -45,7 +45,7 @@ services: timeout: 20s retries: 10 task-runners: - image: n8nio/runners:2.0.3 + image: n8nio/runners:2.1.2 environment: - N8N_RUNNERS_TASK_BROKER_URI=${N8N_RUNNERS_TASK_BROKER_URI:-http://n8n:5679} - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N From 9f961ecb8b2eaa1a4b71b13a7566b45bf8d05b44 Mon Sep 17 00:00:00 2001 From: djeber Date: Thu, 25 Dec 2025 05:04:52 +0100 Subject: [PATCH 4/6] Update n8n-with-postgresql.yaml --- templates/compose/n8n-with-postgresql.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml index 0809664c3..6e98bceea 100644 --- a/templates/compose/n8n-with-postgresql.yaml +++ b/templates/compose/n8n-with-postgresql.yaml @@ -7,7 +7,7 @@ services: n8n: - image: n8nio/n8n:2.1.2 + image: n8nio/n8n:2.1.4 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -45,7 +45,7 @@ services: timeout: 20s retries: 10 task-runners: - image: n8nio/runners:2.1.2 + image: n8nio/runners:2.1.4 environment: - N8N_RUNNERS_TASK_BROKER_URI=${N8N_RUNNERS_TASK_BROKER_URI:-http://n8n:5679} - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N From 62d05d3ba6763687773a49889bd0523b8a4f42da Mon Sep 17 00:00:00 2001 From: djeber Date: Thu, 25 Dec 2025 05:05:02 +0100 Subject: [PATCH 5/6] Update n8n image version to 1.123.9 --- templates/compose/n8n-with-postgres-and-worker.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/compose/n8n-with-postgres-and-worker.yaml b/templates/compose/n8n-with-postgres-and-worker.yaml index fec28860e..b110200fa 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:1.119.2 + image: docker.n8n.io/n8nio/n8n:1.123.9 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -46,7 +46,7 @@ services: retries: 10 n8n-worker: - image: docker.n8n.io/n8nio/n8n:1.119.2 + image: docker.n8n.io/n8nio/n8n:1.123.9 command: worker environment: - GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-Europe/Berlin} @@ -104,4 +104,4 @@ services: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 5s - retries: 10 \ No newline at end of file + retries: 10 From 6c9f7b4aae1d7ff2baabb4e65a72c976535c5622 Mon Sep 17 00:00:00 2001 From: djeber Date: Thu, 25 Dec 2025 05:05:12 +0100 Subject: [PATCH 6/6] Update n8n image and add task runners configuration --- templates/compose/n8n.yaml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/templates/compose/n8n.yaml b/templates/compose/n8n.yaml index 4e886b408..52a41328c 100644 --- a/templates/compose/n8n.yaml +++ b/templates/compose/n8n.yaml @@ -7,7 +7,7 @@ services: n8n: - image: docker.n8n.io/n8nio/n8n:1.119.2 + image: n8nio/n8n:2.1.4 environment: - SERVICE_URL_N8N_5678 - N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N} @@ -17,10 +17,17 @@ services: - TZ=${TZ:-Europe/Berlin} - DB_SQLITE_POOL_SIZE=${DB_SQLITE_POOL_SIZE:-3} - N8N_RUNNERS_ENABLED=${N8N_RUNNERS_ENABLED:-true} + - N8N_RUNNERS_MODE=${N8N_RUNNERS_MODE:-external} + - N8N_RUNNERS_BROKER_LISTEN_ADDRESS=${N8N_RUNNERS_BROKER_LISTEN_ADDRESS:-0.0.0.0} + - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N + - N8N_RUNNERS_BROKER_PORT=${N8N_RUNNERS_BROKER_PORT:-5679} + - N8N_RUNNERS_N8N_CONCURRENCY=${N8N_RUNNERS_N8N_CONCURRENCY:-0} + - N8N_NATIVE_PYTHON_RUNNER=${N8N_NATIVE_PYTHON_RUNNER:-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} - N8N_PROXY_HOPS=${N8N_PROXY_HOPS:-1} + - N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=${N8N_SKIP_AUTH_ON_OAUTH_CALLBACK:-false} volumes: - n8n-data:/home/node/.n8n healthcheck: @@ -28,3 +35,19 @@ services: interval: 5s timeout: 20s retries: 10 + task-runners: + image: n8nio/runners:2.1.4 + environment: + - N8N_RUNNERS_TASK_BROKER_URI=${N8N_RUNNERS_TASK_BROKER_URI:-http://n8n:5679} + - N8N_RUNNERS_AUTH_TOKEN=$SERVICE_PASSWORD_N8N + - N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT=${N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT:-15} + - N8N_RUNNERS_ENABLED=${N8N_RUNNERS_ENABLED:-javascript,python} + depends_on: + - n8n + healthcheck: + test: + - CMD-SHELL + - 'wget -qO- http://127.0.0.1:5680/' + interval: 5s + timeout: 20s + retries: 10