mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-22 05:51:35 +03:00
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: n8n_server_1
|
|
APP_PORT: 5678
|
|
# Allow external clients to reach n8n webhook and form endpoints
|
|
# Authentication can be configured on the corresponding n8n nodes
|
|
# More details here: https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/
|
|
# https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger/
|
|
PROXY_AUTH_WHITELIST: "/webhook-test/*,/webhook/*,/form-test/*,/form/*,/form-waiting/*"
|
|
|
|
server:
|
|
image: n8nio/n8n:2.48.5@sha256:c0ea1246a81a34ce8e2b3cfb1f718b97de64b0a1b3747ad24d6d431826bb71ad
|
|
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
|