Skip to main content

docker-compose

Use when: define multi-service local and test environments with Docker Compose reliably.

Informações da origem

Repositório
kimtth/agent-skill-100-lines-or-less
Última atividade na origem
26 de junho de 2026 às 02:15
Idioma detectado do SKILL.md
inglês
Estrelas
2
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
docker-compose
description
Use when: define multi-service local and test environments with Docker Compose reliably.
Goal: reproducible multi-service environments that start cleanly. Use for: - running an app with its databases and dependencies locally - standing up integration-test environments - reviewing compose files for correctness and safety Workflow: 1. Define one service per container with a clear image and build. 2. Use healthchecks and depends_on conditions for startup order. 3. Pass configuration via environment and .env, not hardcoding. 4. Persist data with named volumes; mount code for dev only. 5. Define networks to isolate and connect services. 6. Verify a clean up/down cycle from scratch. Practices: - pin image versions, not latest - healthchecks so dependents wait for readiness - named volumes for stateful services - separate override files for dev vs. test Rules: - never bake secrets into images or compose files - pin versions for reproducibility - make depends_on wait on health, not just start - keep the environment disposable and rebuildable
Ver no GitHub