409e92d6ae
Dependency Compatibility Check / Fresh Install Dependency Check (push) Waiting to run
Build and Publish n8n Docker Image / test-image (push) Blocked by required conditions
Build and Publish n8n Docker Image / build-and-push (push) Waiting to run
Build and Publish n8n Docker Image / create-release (push) Blocked by required conditions
Build and Push Docker Images / Build Docker Image (push) Has been cancelled
Build and Push Docker Images / Build Railway Docker Image (push) Has been cancelled
Automated Release / Detect Version Change (push) Waiting to run
Automated Release / Generate Release Notes (push) Blocked by required conditions
Automated Release / Create GitHub Release (push) Blocked by required conditions
Automated Release / Package MCPB Bundle (push) Blocked by required conditions
Automated Release / Build and Verify (push) Blocked by required conditions
Automated Release / Publish to NPM (push) Blocked by required conditions
Automated Release / Build and Push Docker Images (push) Blocked by required conditions
Secret Scan / secretlint (push) Waiting to run
Test Suite / test (push) Waiting to run
Test Suite / cjs-runtime (push) Waiting to run
Test Suite / publish-results (push) Blocked by required conditions
Automated Release / Update Documentation (push) Blocked by required conditions
Automated Release / Notify Release Completion (push) Blocked by required conditions
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# Docker Compose file with BuildKit optimizations for faster builds
|
|
# This now builds without n8n dependencies for ultra-fast builds
|
|
version: '3.8'
|
|
|
|
services:
|
|
n8n-mcp:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
# Enable BuildKit
|
|
x-bake:
|
|
cache-from:
|
|
- type=gha
|
|
- type=local,src=/tmp/.buildx-cache
|
|
cache-to:
|
|
- type=gha,mode=max
|
|
- type=local,dest=/tmp/.buildx-cache-new,mode=max
|
|
args:
|
|
BUILDKIT_INLINE_CACHE: 1
|
|
image: n8n-mcp:latest
|
|
container_name: n8n-mcp
|
|
ports:
|
|
- "${PORT:-3000}:${PORT:-3000}"
|
|
environment:
|
|
- MCP_MODE=${MCP_MODE:-http}
|
|
- AUTH_TOKEN=${AUTH_TOKEN}
|
|
- NODE_ENV=${NODE_ENV:-production}
|
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
|
- PORT=${PORT:-3000}
|
|
volumes:
|
|
# Mount data directory for persistence
|
|
- ./data:/app/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "sh", "-c", "curl -f http://localhost:$${PORT:-3000}/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 5s
|
|
|
|
# Use external network if needed
|
|
networks:
|
|
default:
|
|
name: n8n-mcp-network |