From 5d8f92b3628325809a2d436488b7d9c6cc8a14c2 Mon Sep 17 00:00:00 2001 From: sven Date: Mon, 9 Feb 2026 14:19:30 +0100 Subject: [PATCH] =?UTF-8?q?Anpassungen=20f=C3=BCr=20den=20Runner=20gemacht?= =?UTF-8?q?,=20Speicher=20angepasst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- n8nv2/compose.yaml | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/n8nv2/compose.yaml b/n8nv2/compose.yaml index 430060b..dc20fcb 100755 --- a/n8nv2/compose.yaml +++ b/n8nv2/compose.yaml @@ -3,30 +3,30 @@ services: image: n8nio/n8n:latest restart: unless-stopped container_name: n8nv2 - labels: - - wud.watch=true deploy: resources: limits: - memory: 1G + memory: 2G ports: - 9789:5678 volumes: - ./n8n-data:/home/node/.n8n - - /media/Daten/:/mnt/heimserver-daten + # - /media/Daten/:/mnt/heimserver-daten - ./upload/:/mnt/upload # - ./files/WertPlattensammlung.csv:/mnt/files environment: + - N8N_RUNNERS_MODE=external - N8N_RUNNERS_ENABLED=true + - N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0 + - N8N_RUNNERS_BROKER_PORT=5679 + - N8N_RUNNERS_AUTH_TOKEN=^0hXW4sgSU7aG6!LFkGZ + - N8N_NATIVE_PYTHON_RUNNER=true - N8N_PYTHON_ENABLED=true - # - N8N_RUNNERS_MODE=external + - OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true - NODES_EXCLUDE=[] - N8N_RESTRICT_FILE_ACCESS_TO=/home/node/.n8n-files;/mnt/upload - N8N_DIAGNOSTICS_ENABLED=false - N8N_VERSION_NOTIFICATIONS_ENABLED=true - - N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0 # Broker auf allen Interfaces - - N8N_RUNNERS_AUTH_TOKEN=IBhwCI2zP791vfzY9yHWWRLDsou4h4KB - - N8N_NATIVE_PYTHON_RUNNER=true - N8N_BASIC_AUTH_ACTIVE=true - N8N_BASIC_AUTH_USER=admin - N8N_BASIC_AUTH_PASSWORD="OvTCSDZqpA#NfitX^dP1" @@ -55,10 +55,11 @@ services: - N8N_LOG_OUTPUT=console networks: - n8n-net - # depends_on: - # - postgres postgres: image: postgres:15-alpine + restart: unless-stopped + labels: + - wud.watch=true deploy: resources: limits: @@ -73,6 +74,19 @@ services: - ./postgres-data:/var/lib/postgresql/data networks: - n8n-net + task-runners: + image: n8nio/runners:latest + restart: unless-stopped + container_name: n8n-runners + environment: + - N8N_RUNNERS_TASK_BROKER_URI=http://n8n:5679 + - N8N_RUNNERS_AUTH_TOKEN=^0hXW4sgSU7aG6!LFkGZ + - N8N_RUNNERS_MAX_CONCURRENCY=10 + - N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT=15 + depends_on: + - n8n + networks: + - n8n-net networks: n8n-net: driver: bridge