This commit is contained in:
2026-02-06 16:17:59 +01:00
parent 9149976db4
commit d8eb92319b
4 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
services:
n8n:
image: n8nio/n8n
restart: always
ports:
- "5678:5678"
volumes:
- n8n_data:/home/node/.n8n
environment:
# The host URL where n8n will be accessible. Change to your domain or IP.
- N8N_HOST=${N8N_HOST:-localhost}
- N8N_PORT=5678
- N8N_PROTOCOL=http
# This is the URL that n8n will send to external services for webhooks.
# Make sure to update this to your publicly accessible URL.
- WEBHOOK_URL=${WEBHOOK_URL:-http://localhost:5678/}
# Explicitly set secure cookie to false for testing with HTTP
- N8N_SECURE_COOKIE=false
# Set your desired timezone
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-Europe/Berlin}
# Database configuration - using SQLite for simplicity with fewer tasks
- DB_TYPE=sqlite
# No specific host, database, user, or password needed for SQLite
# depends_on is no longer needed without postgres
volumes:
n8n_data: