Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от uw-ssec★ 33 звезды на GitHub

Об этом скилле

Docker Compose Orchestration

Use When

  • The user asks to create or fix a compose.yml / docker-compose.yml file.
  • 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_on conditions 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

  1. Define stack — create/update compose.yml services, networks, and volumes.
  2. Validate config — run docker compose config and fix schema/merge issues.
  3. Start services — run docker compose up -d.
  4. Check status — run docker compose ps; confirm expected services are up.
  5. Verify health — confirm health checks pass for stateful dependencies.
  6. Verify connectivity — test service-to-service access (e.g., API -> DB hostname).
  7. 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

Common Pitfalls (Top 4)

  1. Using depends_on without health conditions for databases/queues.
  2. Hardcoding secrets directly in Compose files.
  3. Using bind mounts for persistent DB data instead of named volumes.
  4. Skipping docker compose config before up, missing merge/interpolation errors.

Templates

Полный SKILL.md на GitHub

Установить compose-orchestration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/development-compose.ymlassets/research-stack-compose.ymlassets/web-app-compose.ymlreferences/compose-patterns.mdreferences/networking-volumes.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить compose-orchestration с