CHANGE: Removed environment from docker compose

This commit is contained in:
2025-08-26 17:31:19 +02:00
parent d5f483dbc8
commit 527d330e72
2 changed files with 10 additions and 11 deletions

View File

@@ -1,8 +1,12 @@
# Domain for n8n
DOMAIN=n8n.example.com
# Your timezone # Your timezone
GENERIC_TIMEZONE=Europe/Warsaw GENERIC_TIMEZONE=Europe/Warsaw
# Directory where n8n will store files # Directory where n8n will store files
PATH_TO_FILES=/path/to/n8n/files PATH_TO_FILES=/path/to/n8n/files
# Domain for n8n
DOMAIN_NAME=mbuz.uk
SUBDOMAIN=automate
N8N_HOST=automate.mbuz.uk
N8N_PROTOCOL=https
# URL to webhook for the webhook triggers
WEBHOOK_URL=https://automate.mbuz.uk/
NODE_ENV=production

View File

@@ -5,13 +5,8 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- 5678:5678 - 5678:5678
environment: env_file:
- N8N_HOST=${DOMAIN} - .env
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${DOMAIN}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
volumes: volumes:
- n8n_data:/home/node/.n8n - n8n_data:/home/node/.n8n
- ${PATH_TO_FILES}:/files - ${PATH_TO_FILES}:/files