Simplify
This commit is contained in:
4
n8m/.env
4
n8m/.env
@@ -1,3 +1 @@
|
|||||||
PATH_TO_DATA=/home/user/docker/n8m
|
PATH_TO_DATA=/home/user/docker/n8m
|
||||||
GENERIC_TIMEZONE=Europe/Warsaw
|
|
||||||
HOSTNAME=n8m.yourdomain.com
|
|
||||||
@@ -1,16 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
n8n:
|
n8n:
|
||||||
image: docker.n8n.io/n8nio/n8n
|
image: docker.n8n.io/n8nio/n8n
|
||||||
|
container_name: n8n
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5678:5678"
|
- "5678:5678"
|
||||||
environment:
|
|
||||||
- N8N_HOST=${HOSTNAME}
|
|
||||||
- N8N_PORT=5678
|
|
||||||
- N8N_PROTOCOL=https
|
|
||||||
- NODE_ENV=production
|
|
||||||
- WEBHOOK_URL=https://${HOSTNAME}/
|
|
||||||
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./n8n_data:/home/node/.n8n
|
- ${PATH_TO_DATA}:/home/node/.n8n
|
||||||
- ${PATH_TO_DATA}:/files
|
|
||||||
|
|||||||
Reference in New Issue
Block a user