umbrel-apps/n8n/docker-compose.yml
2024-10-17 10:48:51 +10:00

23 lines
739 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:1.62.6@sha256:256f7e0f976f9d1ba8d17ff1db995047b5116face548507cc7c399fde66828b7
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