mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
fix remaining non-_dev stacks: bookstack, gitea, heimdall, invokeai, n8n, nextcloud, opencode, paperless, pihole, qbittorrent, stash
This commit is contained in:
+4
-5
@@ -1,12 +1,10 @@
|
||||
services:
|
||||
n8n:
|
||||
image: ${N8N_IMAGE:-n8nio/n8n:latest}
|
||||
restart: unless-stopped
|
||||
restart: ${N8N_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH}/n8n/data:/home/node/.n8n
|
||||
- ${VOL_PATH}/n8n/files:/files
|
||||
ports:
|
||||
- "${N8N_PORT:-5678}:${N8N_PORT:-5678}"
|
||||
environment:
|
||||
- GENERIC_TIMEZONE=${TZ:-America/Vancouver}
|
||||
- TZ=${TZ:-America/Vancouver}
|
||||
@@ -17,10 +15,11 @@ services:
|
||||
- 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}
|
||||
- WEBHOOK_URL=${N8N_HOST:-http://localhost:5678}
|
||||
- N8N_SECURE_COOKIE=${N8N_SECURE_COOKIE:-true}
|
||||
- HOME=/home/node
|
||||
user: "1000:1000"
|
||||
ports:
|
||||
- ${N8N_PORT:-5678}:5678
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
|
||||
+4
-11
@@ -1,17 +1,10 @@
|
||||
# Compose
|
||||
VOL_PATH=/data
|
||||
TZ="America/Vancouver"
|
||||
|
||||
# n8n
|
||||
N8N_IMAGE=n8nio/n8n:latest # or 2.16.1
|
||||
N8N_IMAGE=n8nio/n8n:latest
|
||||
N8N_RESTART=unless-stopped
|
||||
N8N_PORT=5678
|
||||
N8N_HOST=localhost
|
||||
N8N_PROTOCOL=http
|
||||
N8N_EDITOR_BASE_URL=http://localhost:5678
|
||||
N8N_SECURE_COOKIE=true
|
||||
|
||||
# NPM Reverse Proxy (override these):
|
||||
# N8N_HOST=n8n.yourdomain.com
|
||||
# N8N_PROTOCOL=https
|
||||
# N8N_EDITOR_BASE_URL=https://n8n.yourdomain.com
|
||||
# WEBHOOK_URL=https://n8n.yourdomain.com
|
||||
# N8N_SECURE_COOKIE=true
|
||||
TZ=America/Vancouver
|
||||
|
||||
Reference in New Issue
Block a user