n8n: fixed file naming, added to swarm-cd

This commit is contained in:
2025-10-05 23:31:29 +02:00
parent 00e34c3be8
commit a7de75c29d
3 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n:1.113.3
environment:
- TZ=Europe/Paris
- N8N_SECURE_COOKIE=false
ports:
- "5678"
networks:
- default
- proxy
volumes:
- data:/home/node/.n8n
labels:
- "traefik.enable=true"
- "traefik.http.routers.n8n.rule=Host(`n8n.lan`)"
redis:
image: redis:8.2.2
volumes:
data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/n8n/data'
networks:
proxy:
external: true
name: proxy