service-n8n/docker-compose.yml

28 lines
634 B
YAML
Raw Normal View History

2022-09-11 19:01:34 +00:00
---
version: "3"
services:
n8n:
build: .
image: glenux/service-n8n
2022-09-11 19:01:34 +00:00
# restart: always
ports:
- "127.0.0.1:5678:5678"
environment:
- N8N_HOST=localhost
- N8N_PORT=5678
- N8N_PROTOCOL=http
- NODE_ENV=production
- WEBHOOK_URL=http://localhost:5678/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
# - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
# - N8N_BASIC_AUTH_ACTIVE=true
# - N8N_BASIC_AUTH_USER
# - N8N_BASIC_AUTH_PASSWORD
# - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
volumes:
- n8n_data:/home/node/.n8n
volumes:
n8n_data: