moves n8n config to .env file and adds mail config
This commit is contained in:
15
docker_compose_applications/n8n/.env.example
Normal file
15
docker_compose_applications/n8n/.env.example
Normal 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=
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user