moves n8n config to .env file and adds mail config

This commit is contained in:
2025-07-03 12:12:07 +02:00
parent 48efff09b8
commit 05dad51019
2 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
GENERIC_TIMEZONE=
N8N_HOST=
N8N_PORT=
N8N_PROTOCOL=
NODE_ENV=
WEBHOOK_URL=
# Mail setup
N8N_EMAIL_MODE=
N8N_SMTP_HOST=
N8N_SMTP_PORT=
N8N_SMTP_USER=
N8N_SMTP_PASS=
N8N_SMTP_SENDER=
N8N_SMTP_SSL=

View File

@@ -7,13 +7,8 @@ services:
image: docker.n8n.io/n8nio/n8n
container_name: n8n
restart: unless-stopped
environment:
- GENERIC_TIMEZONE=Europe/Berlin
- N8N_HOST=n8n.consider-funding.de
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://n8n.consider-funding.de/
env_file:
- .env
volumes:
- /ansible_docker_compose/project_data/n8n/data:/home/node/.n8n
- /ansible_docker_compose/project_data/n8n/files:/files