#!/usr/bin/env bash
set -euo pipefail

# shellcheck source=scripts/prod-common.sh
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/prod-common.sh"

prod_common_init
cd "$DEPLOY_DIR"

prod_compose down --remove-orphans
echo "[prod] stopped（Mongo/Redis 資料仍在 named volume，下次 prod / prod-deps 會沿用）"