n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

# file: `docker-compose.yml`

services:
  n8n:
    image: ${HONEYPI_IMAGE_REGISTRY_HOST:-docker.io}/docker.n8n.io/n8nio/n8n:${HONEYPI_N8N_VERSION:-latest}
    container_name: n8n
    restart: unless-stopped
    ports:
      - ${HONEYPI_N8N_PORT:-5678}:5678
    volumes:
      - ${HONEYPI_DATA}/n8n:/home/node/.n8n
    environment:
      - N8N_HOST=${HONEYPI_N8N_HOST}
      - N8N_PORT=5678
      - N8N_PROTOCOL=http
      - NODE_ENV=production
      - WEBHOOK_URL=https://${HONEYPI_N8N_HOST}
    labels:
      - traefik.enable=${HONEYPI_N8N_TRAEFIK_ENABLE:-false}
      - traefik.http.routers.n8n.rule=Host(`${HONEYPI_N8N_HOST}`)
      - traefik.http.routers.n8n.entrypoints=websecure
      - traefik.http.routers.n8n.tls.certresolver=resolver
      - traefik.http.routers.n8n.service=n8n
      - traefik.http.services.n8n.loadbalancer.server.port=5678