Files
TSYSGroupAIOS/scripts/down.sh
T
mrcharles 374288a105 feat: bootstrap meta — cross-project best-practices template
Extract patterns from 18 projects across two machines (12 local infra +
6 remote personal/business via ssh survey). Ship a reusable Gitea template
with AGENTS.md, 5 Crush PreToolUse hooks, git pre-commit/pre-push, a
generalized rules engine, shared bash library, Makefile, lifecycle scripts,
and gardening loop. Includes the canonical BASELINE-PROMPT.md (13 sections)
and PATTERNS.md (standardization scorecard).

The repo self-applies: it passes its own shellcheck (zero info-level),
make fast, and all check-rules.sh checks.

💘 Generated with Crush

Assisted-by: Crush via Crush <crush@charm.land>
2026-08-07 11:17:53 -05:00

18 lines
519 B
Bash
Executable File

#!/usr/bin/env bash
# down.sh — bring down the project's docker-compose stack.
# Wrapper around `docker compose down` so every project has the same verb.
set -euo pipefail
HERE="$(cd "$(dirname "$0")" && pwd)"
# shellcheck disable=SC1091
source "$HERE/lib/common.sh"
REPO_ROOT="$(repo_root)"
cd "$REPO_ROOT"
COMPOSE_FILE="${COMPOSE_FILE:-docker-compose.yml}"
[ -f "$COMPOSE_FILE" ] || die "no $COMPOSE_FILE"
log_step "Bringing down stack ($COMPOSE_FILE)"
docker compose -f "$COMPOSE_FILE" down
log_ok "stack down"