File contents Docker Deployment Skill
Docker patterns for cl-n8n-mcp.
Docker Compose
version: '3.8'
services:
n8n-mcp:
build: .
container_name: n8n-mcp-dynamic
ports:
- "3011:3000"
environment:
- ENABLE_MULTI_TENANT=true
- AUTH_TOKEN=${AUTH_TOKEN}
- MCP_MODE=http
- RATE_LIMIT_PER_MINUTE=50
- DAILY_LIMIT=100
restart: unless-stopped
Dockerfile (Two-Stage)
# Stage 1: Build
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Stage 2: Runtime
FROM node:22-alpine
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/data ./data
COPY --from=builder /app/public ./public
COPY package*.json ./
RUN npm ci --production
CMD ["node", "dist/http-server/index.js"]
Commands
# Build and start
docker compose build
docker compose up -d
# View logs
docker compose logs -f
# Rebuild after code changes
npm run build && docker compose build && docker compose up -d
# Check status
docker ps --filter name=n8n-mcp-dynamic
curl http://localhost:3011/health
1 --- 2 name: docker-deployment 3 description: Docker Deployment Skill 4 --- 5 # Docker Deployment Skill 6 7 > Docker patterns for cl-n8n-mcp. 8 9 --- 10 11 ## Docker Compose 12 13 ```yaml 14 version: '3.8' 15 services: 16 n8n-mcp: 17 build: . 18 container_name: n8n-mcp-dynamic 19 ports: 20 - "3011:3000" 21 environment: 22 - ENABLE_MULTI_TENANT=true 23 - AUTH_TOKEN=${AUTH_TOKEN} 24 - MCP_MODE=http 25 - RATE_LIMIT_PER_MINUTE=50 26 - DAILY_LIMIT=100 27 restart: unless-stopped 28 ``` 29 30 ## Dockerfile (Two-Stage) 31 32 ```dockerfile 33 # Stage 1: Build 34 FROM node:22-alpine AS builder 35 WORKDIR /app 36 COPY package*.json ./ 37 RUN npm ci 38 COPY . . 39 RUN npm run build 40 41 # Stage 2: Runtime 42 FROM node:22-alpine 43 WORKDIR /app 44 COPY --from=builder /app/dist ./dist 45 COPY --from=builder /app/data ./data 46 COPY --from=builder /app/public ./public 47 COPY package*.json ./ 48 RUN npm ci --production 49 CMD ["node", "dist/http-server/index.js"] 50 ``` 51 52 ## Commands 53 54 ```bash 55 # Build and start 56 docker compose build 57 docker compose up -d 58 59 # View logs 60 docker compose logs -f 61 62 # Rebuild after code changes 63 npm run build && docker compose build && docker compose up -d 64 65 # Check status 66 docker ps --filter name=n8n-mcp-dynamic 67 curl http://localhost:3011/health 68 ```
kaewz-manga/cl-n8n-mcp/tree/main/.claude/skills/docker-deployment commit 02a3700bc0
Frequently asked questions How do I install the Docker Deployment skill? Run npx skillmds@latest add kaewz-manga/docker-deployment in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Docker Deployment skill do? Docker Deployment Skill It is listed under DevOps & Infra on SkillMD.
Is Docker Deployment safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Docker Deployment? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Docker Deployment free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Docker Deployment? kaewz-manga (@kaewz-manga) published this skill. Their other Agent Skills are listed on their SkillMD profile.