Files
umbrel-apps/n8n/docker-compose.yml
T
2026-06-02 13:23:26 +10:00

27 lines
854 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: n8n_server_1
APP_PORT: 5678
# These webhook endpoints are protected using Basic or Header Auth
# More details here: https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/
PROXY_AUTH_WHITELIST: "/webhook-test/*,/webhook/*"
server:
image: n8nio/n8n:2.23.2@sha256:8a184acb2efa74a3e3d9d023cd39fa2f423cbc4ff51e999cfcd33566365a0f92
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data:/home/node/.n8n
stop_grace_period: 1m
environment:
- PUID=1000
- PGID=1000
# Used to set the url for editor, REST API & webhooks
- N8N_HOST=$DEVICE_DOMAIN_NAME
- N8N_SECURE_COOKIE=false
- N8N_DIAGNOSTICS_ENABLED=false
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_PROXY_HOPS=1