This commit is contained in:
Joey Hafner 2024-10-26 00:34:58 -07:00
parent 7957fe1f8d
commit 13d94cfc64
No known key found for this signature in database
2 changed files with 20 additions and 0 deletions

1
homelab/stacks/n8n/.env Normal file
View File

@ -0,0 +1 @@
FILE_STORAGE=/home/admin/data/n8n

View File

@ -0,0 +1,19 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n:latest
container_name: n8n_n8n
restart: "unless-stopped"
networks:
web:
volumes:
- $FILE_STORAGE/n8n:/home/node/.n8n
labels:
- traefik.http.routers.n8n.rule=Host(`n8n.jafner.net`)
- traefik.http.routers.n8n.tls.certresolver=lets-encrypt
environment:
- N8N_EDITOR_BASE_URL=https://n8n.jafner.net/
- WEBHOOK_URL=https://n8n.jafner.net/
networks:
web:
external: true