n8n is an extendable workflow automation tool. n8n’s node-based approach makes it highly versatile, enabling you to connect anything to everything.
services: n8n: image: docker.n8n.io/n8nio/n8n:1.90.0 container_name: n8n_app restart: unless-stopped environment: - N8N_USER_MANAGEMENT_DISABLED=false - N8N_PERSONALIZATION_ENABLED=false - N8N_DIAGNOSTICS_ENABLED=false - WEBHOOK_URL=https://n8n.zrx.sh/ - GENERIC_TIMEZONE=Europe/Paris volumes: - /data:/mnt/host_data:ro - /data/apps/n8n/data:/home/node/.n8n ports: - 5678:5678 networks: - homelab labels: - traefik.enable=true - traefik.http.routers.n8n.rule=Host(`n8n.zrx.sh`) - traefik.http.services.n8n.loadbalancer.server.port=5678 - traefik.http.routers.n8n.middlewares=homelab-whitelist@file - traefik.http.routers.n8n.tls=true - traefik.http.routers.n8n.tls.certresolver=production - traefik.http.routers.n8n.tls.domains[0].main=zrx.sh - traefik.http.routers.n8n.tls.domains[0].sans=*.zrx.shnetworks: homelab: external: true
Workflows
Section titled “Workflows”I have currently a few workflows running :
- Homelab wiki updater : Search on my Homelab notion database if there are any updates, if yes, it will run a workflow to deploy my homelab website.
- Set domain rewrites for devices on NextDNS : Fetch all of my currently running devices (locally and on
Tailscale) and add an entry to all of them in NextDNS.
- Update stacks from Portainer/Dockge : Get all running docker stacks (from
Portainer or
Dockge) and then save them in my Homelab notion database and on my Homelab Github repo.