mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
- VOL_PATH always defaults to /data; vscode/opencode VOL_PROJECTS nests it - TZ defaults to America/Vancouver (was UTC in etherpad, ntfy, redis) - compose section order fixed (volumes before environment, command after networks) - all default secrets are the literal ChangeThisPassword (grep-friendly, users must change them); removed a real key from ollama sample.env - sample.env synced with compose: missing vars added with defaults, dead vars removed - invoiceninja_dev/openarchiver_dev: app services had no environment block, wired all sample.env vars through so the stacks actually work - opencode: sample.env OLLAMA_HOST renamed to OLLAMA_HOST_URL to match compose - TZ values unquoted consistently Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
29 lines
869 B
YAML
29 lines
869 B
YAML
services:
|
|
n8n:
|
|
image: ${N8N_IMAGE:-n8nio/n8n:latest}
|
|
restart: ${N8N_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/n8n/data:/home/node/.n8n
|
|
- ${VOL_PATH:-/data}/n8n/files:/files
|
|
environment:
|
|
- GENERIC_TIMEZONE=${TZ:-America/Vancouver}
|
|
- TZ=${TZ:-America/Vancouver}
|
|
- NODE_ENV=production
|
|
- N8N_PROTOCOL=${N8N_PROTOCOL:-http}
|
|
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
|
|
- DB_SQLITE_VACUUM_ON_STARTUP=false
|
|
- N8N_PORT=${N8N_PORT:-5678}
|
|
- N8N_HOST=${N8N_HOST:-localhost}
|
|
- N8N_EDITOR_BASE_URL=${N8N_EDITOR_BASE_URL:-http://localhost:5678}
|
|
- WEBHOOK_URL=${N8N_HOST:-http://localhost:5678}
|
|
- N8N_SECURE_COOKIE=${N8N_SECURE_COOKIE:-true}
|
|
- HOME=/home/node
|
|
ports:
|
|
- ${N8N_PORT:-5678}:5678
|
|
networks:
|
|
- proxy
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|