compose-bringup
Bring up a Docker Compose stack reliably and verify basic service/container status. Use for local smoke tests, live testing, and staging-like bring-up.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Skill Instructions
Inputs
-
COMPOSE_FILES(string): compose flags, e.g.-f docker-compose.ymlor-f docker-compose.yml -f docker-compose.gpu.yml -
BUILD(string/bool): when set (non-empty), include--build
Procedure
set -euo pipefail
compose_files="${COMPOSE_FILES:-}"
build_flag=""
if [ -n "${BUILD:-}" ]; then
build_flag="--build"
fi
# Bring up
if [ -n "$compose_files" ]; then
docker compose $compose_files up -d $build_flag
else
docker compose up -d $build_flag
fi
# Inspect status
if [ -n "$compose_files" ]; then
docker compose $compose_files ps
else
docker compose ps
fi
Acceptance Criteria
-
docker compose ... psshows expected services arerunning/healthy(if healthchecks exist)
Notes
- Use
docker-compose.ymlalone for CPU-only runs. - Add an override file (e.g.
docker-compose.gpu.yml) only when you explicitly want GPU.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!