docker-patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
Skill by mturac
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mturac-docker-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/docker-patterns
What's inside
- Skill name
docker-patterns- Description
- Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration. Use when setting up containerized development environments or reviewing Docker configurations.
- License
- MIT
- Metadata
- origin: ecc
- Instructions
- 368 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Docker Patterns
Docker and Docker Compose best practices for containerized development.
## When to Activate
- Setting up Docker Compose for local development
- Designing multi-container architectures
- Troubleshooting container networking or volume issues
- Reviewing Dockerfiles for security and size
- Migrating from local dev to containerized workflow
## Docker Compose for Local Development
### Standard Web App Stack
```yaml
# docker-compose.yml
services:
app:
build:
context: .
target: dev # Use dev stage of multi-stage Dockerfile
ports:
- "3000:3000"
volumes:
- .:/app # Bind mount for hot reload
- /app/node_modules # Anonymous volume -- preserves container deps
environment:
- DATABASE_URL=postgres://postgres:postgres@db:5432/app_dev
- REDIS_URL=redis://redis:6379/0
- NODE_ENV=development
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
command: npm run dev
db:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: app_dev
volumes:
- pgdata:/var/lib/postgresql/data
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 3s
retries: 5
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redisdata:/data
mailpit: # Local email testing
image: axllent/mailpit
ports:
- "8025:8025" # Web UI
- "1025:1025" # SMTP
volumes:
pgdata:
redisdata:
```
### Development vs Production Dockerfile
```dockerfile
# Stage: dependencies
FROM node:22-alpine AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
# Stage: dev (hot reload, debug tools)
FROM node:22-alpine AS dev
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
EXPOSE 3000
CMD ["npm", "run", "dev"]
# Stage: build
FROM node:22-alpine AS build
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npm run build && npm prune --production
# Stage: production (minimal image)
FROM node:22-alpine AS production
WORKDIR /app
RUN addgroup -g 1001 -S appgroup && adduser -S appuser -u 1001
USER appuser
COPY --from=build --chown=appuser:appgroup /app/dist ./dist
COPY --from=build --chown=appuser:appgroup /app/node_modules ./node_modules
COPY --from=build --chown=appuser:appgroup /app/package.json ./
ENV NODE_ENV=production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://localhost:3000/health || exit 1
CMD ["node", "dist/server.js"]
```
### Override Files
```yaml
# docker-compose.override.yml (auto-loaded, dev-only settings)
services:
app:
environment:From mturac/everything-openai-codex, MIT.
More from mturac/everything-openai-codex
- 0.581score
x-api
mturac
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
database-migrations
mturac
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs…
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
deployment-patterns
mturac
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web…
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
fal-ai-media
mturac
Unified media generation via fal.ai MCP — image, video, and audio.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
documentation-lookup
mturac
Use up-to-date library and framework docs via Context7 MCP instead of training data.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
dmux-workflows
mturac
Multi-agent orchestration using dmux (tmux pane manager for AI agents).
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-materials
mturac
Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-outreach
mturac
Draft cold emails, warm intro blurbs, follow-ups, update emails, and investor communications for fundraising.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
market-research
mturac
Conduct market research, competitive analysis, investor due diligence, and industry intelligence with source attribution and decision-oriented summaries.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
mle-workflow
mturac
Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
exa-search
mturac
Neural search via Exa MCP for web, code, and company research.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
product-capability
mturac
Translate PRD intent, roadmap asks, or product discussions into an implementation-ready capability plan that exposes constraints, invariants, interfaces, and…
SkillCFreshness: C★ 83Claude Code +9
Signals
- Stars
- 83
- Forks
- 2
- Open issues
- 1
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from mturac
- 0.581score
documentation-lookup
mturac
Use up-to-date library and framework docs via Context7 MCP instead of training data.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
exa-search
mturac
Neural search via Exa MCP for web, code, and company research.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
fal-ai-media
mturac
Unified media generation via fal.ai MCP — image, video, and audio.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
dmux-workflows
mturac
Multi-agent orchestration using dmux (tmux pane manager for AI agents).
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-materials
mturac
Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-outreach
mturac
Draft cold emails, warm intro blurbs, follow-ups, update emails, and investor communications for fundraising.
SkillCFreshness: C★ 83Claude Code +9
Cite this page
docker-patterns skill. Agent Mart. https://agentmart.dev/skills/mturac-docker-patterns (last updated 2026-10-24)