compose-orchestration
БесплатноБез исполняемых скриптовНе проверенUse when the user asks about Docker Compose configuration, docker-compose.yml/compose.yml files, multi-container setups, container networking, or local…
от uw-ssec★ 33 звезды на GitHubОб этом скилле
Docker Compose Orchestration
Use When
- The user asks to create or fix a
compose.yml/docker-compose.ymlfile. - The user needs a multi-container stack (API + database + cache/queue + worker).
- The user asks about container networking, volumes, profiles, or environment variables in Compose.
- The user needs a reproducible containerized development environment.
Primary Actions
- Generate or update Compose service definitions with correct dependencies.
- Add health checks and
depends_onconditions for reliable startup order. - Configure environment variables, port mappings, and volume strategy.
- Set up development overrides and profile-based optional services.
- Debug container startup, readiness, and inter-service connectivity.
Startup Workflow With Validation Checkpoints
- Define stack — create/update
compose.ymlservices, networks, and volumes. - Validate config — run
docker compose configand fix schema/merge issues. - Start services — run
docker compose up -d. - Check status — run
docker compose ps; confirm expected services are up. - Verify health — confirm health checks pass for stateful dependencies.
- Verify connectivity — test service-to-service access (e.g., API -> DB hostname).
- Inspect logs — run
docker compose logs -f <service>for failing services.
If a checkpoint fails, fix compose configuration and repeat from step 2.
Quick Command Reference
# Validate and start
docker compose config
docker compose up -d
# Inspect and debug
docker compose ps
docker compose logs -f api
docker compose exec api sh
# Stop/cleanup
docker compose down
docker compose down -v
# Multi-file and profiles
docker compose -f compose.yml -f compose.override.yml up -d
docker compose --profile debug up -d
Minimal Compose Pattern
services:
api:
build: .
depends_on:
db:
condition: service_healthy
environment:
DATABASE_URL: postgresql://user:pass@db:5432/app
ports:
- "8000:8000"
db:
image: postgres:16-alpine
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 5
volumes:
pg-data:
Keep in SKILL.md; Deep Details in References
- Compose patterns (multi-file, profiles, env interpolation, GPU, watch): references/compose-patterns.md
- Networking and volume deep dives: references/networking-volumes.md
Common Pitfalls (Top 4)
- Using
depends_onwithout health conditions for databases/queues. - Hardcoding secrets directly in Compose files.
- Using bind mounts for persistent DB data instead of named volumes.
- Skipping
docker compose configbeforeup, missing merge/interpolation errors.
Templates
Установить compose-orchestration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл compose-orchestration?
Use when the user asks about Docker Compose configuration, docker-compose.yml/compose.yml files, multi-container setups, container networking, or local container orchestration for development. Creates and configures Compose stacks for web APIs, databases, message queues, workers, and Jupyter workflows; sets up service dependencies and health checks; and troubleshoots startup/connectivity issues.
Как установить скилл compose-orchestration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл compose-orchestration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub