Skip to main content

docker-compose

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

소스 정보

저장소
kimtth/agent-skill-100-lines-or-less
최근 소스 활동
2026년 6월 26일 02:15
감지된 SKILL.md 언어
영어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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
GitHub에서 보기