Working files

This commit is contained in:
Maksym Buz
2025-07-30 22:44:06 +02:00
committed by GitHub
parent c0e16a14ec
commit e4851e2671
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
DOMAIN=example.com
GENERIC_TIMEZONE=Europe/Warsaw
PATH_TO_DATA=/home/user/docker/n8n
PATH_TO_FILES=/home/user/docker/n8n

View File

@@ -1,9 +1,10 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n
container_name: n8n
restart: unless-stopped
ports:
- ":5678:5678"
- 5678:5678
environment:
- N8N_HOST=${DOMAIN}
- N8N_PORT=5678
@@ -11,5 +12,9 @@ services:
- NODE_ENV=production
- WEBHOOK_URL=https://${DOMAIN}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
volumes:
- ${PATH_TO_DATA}:/home/node/.n8n
- n8n_data:/home/node/.n8n
- ${PATH_TO_FILES}:/files
volumes:
n8n_data: