remove unneeded setting and removing port mapping to local host
This commit is contained in:
@@ -23,8 +23,8 @@ services:
|
|||||||
n8n:
|
n8n:
|
||||||
image: n8nio/n8n:2.13.2
|
image: n8nio/n8n:2.13.2
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
#ports:
|
||||||
- "127.0.0.1:5678:5678"
|
# - "127.0.0.1:5678:5678"
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.n8n.rule=Host(`${SUBDOMAIN}.${DOMAIN_NAME}`)
|
- traefik.http.routers.n8n.rule=Host(`${SUBDOMAIN}.${DOMAIN_NAME}`)
|
||||||
@@ -45,14 +45,13 @@ services:
|
|||||||
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
|
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
|
||||||
- N8N_PORT=5678
|
- N8N_PORT=5678
|
||||||
- N8N_PROTOCOL=https
|
- N8N_PROTOCOL=https
|
||||||
- N8N_RUNNERS_ENABLED=true
|
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
|
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
|
||||||
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
|
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
|
||||||
- TZ=${GENERIC_TIMEZONE}
|
- TZ=${GENERIC_TIMEZONE}
|
||||||
volumes:
|
volumes:
|
||||||
- ./n8n_data:/home/node/.n8n
|
- ./n8n_data:/home/node/.n8n
|
||||||
- ./n8n_files:/files
|
- ../data/:/files
|
||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
- traefik
|
- traefik
|
||||||
|
|||||||
Reference in New Issue
Block a user