Timouts verzehnfacht

This commit is contained in:
2026-01-02 09:26:04 +01:00
parent 70a780d50f
commit fe36852eb2
+10 -13
View File
@@ -1,6 +1,7 @@
services:
n8n:
image: n8nio/n8n:latest
# build: .
restart: unless-stopped
container_name: n8nv2
deploy:
@@ -15,6 +16,7 @@ services:
- ./upload/:/mnt/upload
environment:
- N8N_RUNNERS_ENABLED=true
- N8N_PYTHON_ENABLED=true
# - N8N_RUNNERS_MODE=external
- NODES_EXCLUDE=[]
- N8N_RESTRICT_FILE_ACCESS_TO=/home/node/.n8n-files;/mnt/upload
@@ -36,22 +38,17 @@ services:
- DB_POSTGRESDB_USER=n8n
- DB_POSTGRESDB_PASSWORD=dbpass
# Timeouts anpassen:
- EXECUTIONS_TIMEOUT=3600
- EXECUTIONS_TIMEOUT=36000
- N8N_HTTP_REQUEST_TIMEOUT=0
- N8N_HTTP_HEADERS_TIMEOUT=3600000
- N8N_HTTP_KEEPALIVE_TIMEOUT=3600000
- FETCH_HEADERS_TIMEOUT=3600000
- FETCH_BODY_TIMEOUT=36000000
- FETCH_CONNECT_TIMEOUT=600000
# Python installieren
command: >
sh -c "apk add --no-cache python3 py3-pip &&
ln -sf python3 /usr/bin/python &&
node packages/cli/bin/n8n"
- N8N_HTTP_HEADERS_TIMEOUT=36000000
- N8N_HTTP_KEEPALIVE_TIMEOUT=36000000
- FETCH_HEADERS_TIMEOUT=36000000
- FETCH_BODY_TIMEOUT=360000000
- FETCH_CONNECT_TIMEOUT=6000000
networks:
- n8n-net
depends_on:
- postgres
# depends_on:
# - postgres
postgres:
image: postgres:15-alpine
deploy: