23 lines
785 B
YAML
23 lines
785 B
YAML
services:
|
|
n8n:
|
|
image: docker.n8n.io/n8nio/n8n
|
|
ports:
|
|
- "5678:5678"
|
|
environment:
|
|
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
|
|
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
|
|
- N8N_PORT=5678
|
|
- N8N_PROTOCOL=http
|
|
- N8N_RUNNERS_ENABLED=true
|
|
- NODE_ENV=production
|
|
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
|
|
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
|
|
- TZ=${GENERIC_TIMEZONE}
|
|
volumes:
|
|
- /mnt/user/appdata/n8n/n8n_data:/home/node/.n8n
|
|
- /mnt/user/appdata/n8n/local-files:/files
|
|
labels:
|
|
folder.view2: "Services"
|
|
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/n8n.png"
|
|
net.unraid.docker.webui: "https://automation.homecube.org"
|