Files
n8n-mcp/docker-compose.yml
czlonkowski 1dd6b8e55f Clean up legacy documentation and scripts
- Remove all references to workflow execution/management features
- Delete legacy scripts for bidirectional n8n integration
- Update documentation to focus on node documentation serving only
- Remove old docker-compose files for workflow management
- Add simplified docker-compose.yml for documentation server
- Update CHANGELOG.md to reflect v2.0.0 and v2.1.0 changes
- Update Dockerfile to use v2 paths and database

The project is now clearly focused on serving n8n node documentation
to AI assistants, with no workflow execution capabilities.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 07:54:53 +00:00

42 lines
1.0 KiB
YAML

version: '3.8'
services:
n8n-docs-mcp:
build: .
container_name: n8n-docs-mcp
volumes:
- ./data:/app/data
environment:
- NODE_ENV=production
- NODE_DB_PATH=/app/data/nodes-v2.db
- MCP_LOG_LEVEL=info
ports:
- "3000:3000" # Only needed if using HTTP mode
command: node dist/index-v2.js
restart: unless-stopped
# HTTP mode (for remote access)
n8n-docs-mcp-http:
build: .
container_name: n8n-docs-mcp-http
volumes:
- ./data:/app/data
environment:
- NODE_ENV=production
- NODE_DB_PATH=/app/data/nodes-v2.db
- MCP_LOG_LEVEL=info
- MCP_PORT=3000
- MCP_HOST=0.0.0.0
- MCP_DOMAIN=${MCP_DOMAIN:-localhost}
- MCP_AUTH_TOKEN=${MCP_AUTH_TOKEN}
- MCP_CORS=true
ports:
- "3000:3000"
command: node dist/index-http.js
restart: unless-stopped
profiles:
- http
# Usage:
# Local mode: docker-compose up n8n-docs-mcp
# HTTP mode: docker-compose --profile http up n8n-docs-mcp-http