This commit is contained in:
Maksym Buz
2025-07-30 15:01:16 +02:00
committed by GitHub
parent c4427af0d1
commit 959ec04b63
2 changed files with 3 additions and 12 deletions

View File

@@ -1,3 +1 @@
PATH_TO_DATA=/home/user/docker/n8m
GENERIC_TIMEZONE=Europe/Warsaw
HOSTNAME=n8m.yourdomain.com

View File

@@ -1,16 +1,9 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n
container_name: n8n
restart: unless-stopped
ports:
- "5678:5678"
environment:
- N8N_HOST=${HOSTNAME}
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${HOSTNAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
volumes:
- ./n8n_data:/home/node/.n8n
- ${PATH_TO_DATA}:/files
- ${PATH_TO_DATA}:/home/node/.n8n