Refactor Docker Compose files for n8n and Portainer: update volume paths and network configurations; remove deprecated n8n configuration file.

This commit is contained in:
2025-11-13 03:38:48 +01:00
parent 2423223b39
commit 75874a2ff3
4 changed files with 42 additions and 64 deletions
+32
View File
@@ -0,0 +1,32 @@
n8n:
image: docker.n8n.io/n8nio/n8n
restart: unless-stopped
environment:
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_PORT=5678
- N8N_RUNNERS_ENABLED=true
- NODE_ENV=production
- GENERIC_TIMEZONE=Europe/Bratislava
- TZ=Europe/Bratislava
- N8N_SECURE_COOKIE=false
- N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
volumes:
- ./volumes/n8n_data:/home/node/.n8n
- ./n8n/local-files:/files
extra_hosts:
- "enterprise.n8n.io:104.26.13.187"
- "enterprise.n8n.io:104.26.12.187"
- "enterprise.n8n.io:172.67.68.102"
dns:
- 1.1.1.1
- 8.8.8.8
networks:
- traefik-proxy
- default
- n8n
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik-proxy"
networks:
n8n:
driver: bridge