Add docker-compose.yml
This commit is contained in:
parent
d2f142ee3d
commit
6403cba0ac
1 changed files with 26 additions and 0 deletions
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
n8n:
|
||||||
|
image: n8nio/n8n
|
||||||
|
# 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:
|
Loading…
Reference in a new issue