This commit is contained in:
2026-03-19 21:41:03 +01:00
parent e427490161
commit 80231e2146
2 changed files with 26 additions and 3 deletions
+12 -1
View File
@@ -15,7 +15,10 @@ services:
N8N_BASIC_AUTH_USER: sth
N8N_BASIC_AUTH_PASSWORD: pwd
N8N_RUNNERS_ENABLED: 'true'
N8N_RUNNERS_MODE: internal
N8N_RUNNERS_MODE: external
N8N_RUNNERS_BROKER_LISTEN_ADDRESS: 0.0.0.0
N8N_RUNNERS_AUTH_TOKEN: l4c1j4yd33Du5lo
N8N_NATIVE_PYTHON_RUNNER: 'true'
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS: 'true'
N8N_SECURE_COOKIE: 'false'
N8N_GIT_NODE_ALLOW_LOCAL: 'true'
@@ -40,6 +43,14 @@ services:
placement:
constraints:
- node.role == manager
task-runners:
image: n8nio/runners:latest
environment:
N8N_RUNNERS_TASK_BROKER_URI: http://n8n-main:5679
N8N_RUNNERS_AUTH_TOKEN: l4c1j4yd33Du5lo
# etc.
depends_on:
- n8n
volumes:
data:
driver: local