一键导入
docker-compose
Define multi-container applications with proper dependency handling, networking, and volume management.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Define multi-container applications with proper dependency handling, networking, and volume management.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
X (Twitter) full-stack automation — multi-platform trend search, AI content generation, auto-posting, DM monitoring, daily reports. Use when user mentions X/Twitter ops, searching trends, writing tweets, checking DMs, or viewing reports.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
Use when designing database schemas, writing migrations, optimizing SQL queries, fixing N+1 problems, creating indexes, setting up PostgreSQL, configuring EF Core, implementing caching, partitioning tables, or any database performance question.
Automate deployments, manage infrastructure, and build reliable CI/CD pipelines.
| name | Docker Compose |
| description | Define multi-container applications with proper dependency handling, networking, and volume management. |
| metadata | {"clawdbot":{"emoji":"🐳","requires":{"anyBins":["docker-compose","docker"]},"os":["linux","darwin","win32"]}} |
depends_on: alone only waits for container start—service likely not ready yetdepends_on:
db:
condition: service_healthy
service_healthy failshealthcheck:
test: ["CMD", "pg_isready"]
start_period: 30s
start_period: initial grace period—health failures don't count during this timedocker compose down preserves volumesdocker compose down -v DELETES ALL VOLUMES—data loss-v often added by habit from tutorials—catastrophic in productiondown; anonymous volumes deleted on downdeploy:
resources:
limits:
memory: 512M
node_modules, .git, secrets copied into image.gitignore syntax—create at same level as Dockerfile.git, node_modules, .env, *.log, build artifactsdocker-compose.yml: base config that works everywheredocker-compose.override.yml: auto-loaded, development-specific (mounts, ports)docker compose -f docker-compose.yml -f docker-compose.prod.yml upservices:
mailhog:
profiles: [dev]
docker compose up--profile dev.env file in compose directoryenv_file: directiveenvironment: in compose file (lowest for that var).env must be exactly .env—.env.local not auto-loadeddocker compose config—shows resolved values