Enable swarm-cd

This commit is contained in:
2025-09-16 18:09:45 +02:00
parent 927fa239a8
commit fbcb2bffac
9 changed files with 234 additions and 4 deletions

View File

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