Docker Compose stack (n8n, PostgreSQL 16, Redis 7, 1 worker) with: - nginx local proxy on port 8088, YunoHost TLS termination config - helper scripts: backup/restore/import/export/update - .env.example, README with architecture, ops commands, to-do list Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
941 B
Text
35 lines
941 B
Text
# =============================================================================
|
|
# n8n Stack — Konfigurationsvorlage
|
|
# Kopieren nach .env und alle Werte ausfüllen.
|
|
# =============================================================================
|
|
|
|
# --- Domain & URL ---
|
|
N8N_HOST=n8n.linix.de
|
|
N8N_PROTOCOL=https
|
|
WEBHOOK_URL=https://n8n.linix.de/
|
|
|
|
# --- Datenbank ---
|
|
POSTGRES_DB=n8n
|
|
POSTGRES_USER=n8n
|
|
POSTGRES_PASSWORD=HIER_STARKES_PASSWORT_EINTRAGEN
|
|
|
|
# --- Redis ---
|
|
REDIS_PASSWORD=HIER_STARKES_PASSWORT_EINTRAGEN
|
|
|
|
# --- n8n Encryption Key ---
|
|
# KRITISCH: Einmalig generieren (z.B. openssl rand -base64 32) und nie mehr ändern!
|
|
# Änderung macht alle gespeicherten Credentials unbrauchbar.
|
|
N8N_ENCRYPTION_KEY=HIER_ZUFALLSKEY_EINTRAGEN
|
|
|
|
# --- SMTP ---
|
|
SMTP_HOST=linix.de
|
|
SMTP_PORT=587
|
|
SMTP_USER=nutzer@linix.de
|
|
SMTP_PASSWORD=SMTP_PASSWORT
|
|
SMTP_SENDER=n8n@linix.de
|
|
|
|
# --- Worker ---
|
|
N8N_WORKER_REPLICAS=1
|
|
|
|
# --- Zeitzone ---
|
|
TZ=Europe/Berlin
|