version: '3.8' services: n8n: image: n8nio/n8n:latest container_name: n8n-dev restart: unless-stopped ports: - "5678:5678" environment: - N8N_BASIC_AUTH_ACTIVE=false - N8N_HOST=localhost - N8N_PORT=5678 - N8N_PROTOCOL=http - NODE_ENV=development - WEBHOOK_URL=http://localhost:5678/ - GENERIC_TIMEZONE=UTC # Enable API for MCP integration - N8N_USER_MANAGEMENT_DISABLED=true - N8N_PUBLIC_API_DISABLED=false volumes: - n8n_data:/home/node/.n8n - ./dist/n8n:/home/node/.n8n/custom/nodes networks: - n8n-network networks: n8n-network: driver: bridge volumes: n8n_data: