compose-bringup | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / compose-bringup

compose-bringup

maintained by jfriisj

star 0 account_tree 0 verified_user MIT License
bolt View GitHub

name: compose-bringup description: 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.

Skill Instructions

Inputs

  • COMPOSE_FILES (string): compose flags, e.g. -f docker-compose.yml or -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 ... ps shows expected services are running / healthy (if healthchecks exist)

Notes

  • Use docker-compose.yml alone for CPU-only runs.
  • Add an override file (e.g. docker-compose.gpu.yml) only when you explicitly want GPU.

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 0
Created Jan 2026
Last Updated 5个月前
tools tools containers

Related Skills

docker-expert
chevron_right
kube-audit-kit
chevron_right
fvh-skaffold
chevron_right
docker-best-practices
chevron_right
check-pod-resources
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.