Files
Docker-Compose/n8n/.env.example
T
2026-05-16 00:59:38 -07:00

23 lines
661 B
Bash

# n8n Docker Compose Environment Variables
# n8n application image version (e.g. 1.47.1, or "latest")
N8N_APP_VERSION=latest
# PostgreSQL image version
N8N_DB_VERSION=16
# Timezone for the n8n container (IANA format)
N8N_TZ=America/Los_Angeles
# Password for the PostgreSQL n8n user (used by both app and db services)
N8N_DB_PASSWORD=changeme
# Encryption key used to encrypt saved credentials — generate with: openssl rand -hex 32
N8N_ENCRYPTION_KEY=changeme_random_string
# Public-facing URL n8n uses to construct webhook URLs (include trailing path if needed)
N8N_URL=https://n8n.yourdomain.com
# Host port to expose the n8n web UI on
N8N_PORT=5678