修改配置

This commit is contained in:
vet
2026-04-13 22:25:56 +07:00
parent b94ecd7dd9
commit db787d6075
11 changed files with 128 additions and 77 deletions

View File

@@ -3,7 +3,7 @@
# stop-infra.sh — 停止 Docker 基础设施容器
#
# 用法:
# ./stop-infra.sh # 停止 Redis / Kafka / Etcd
# ./stop-infra.sh # 停止 Redis / Kafka / Etcd / MinIO / LiveKit
# ./stop-infra.sh redis # 只停止 Redis
# ./stop-infra.sh kafka # 只停止 Kafka
# ./stop-infra.sh etcd # 只停止 Etcd
@@ -33,6 +33,7 @@ case "$TARGET" in
step "停止所有 Docker 基础设施"
_stop_container "LiveKit" "dev-livekit"
_stop_container "Kafka" "dev-kafka"
_stop_container "MinIO" "dev-minio"
_stop_container "Redis" "dev-redis"
_stop_container "Etcd" "dev-etcd"
echo ""
@@ -43,9 +44,10 @@ case "$TARGET" in
kafka) _stop_container "Kafka" "dev-kafka" ;;
etcd) _stop_container "Etcd" "dev-etcd" ;;
livekit) _stop_container "LiveKit" "dev-livekit" ;;
minio) _stop_container "MinIO" "dev-minio" ;;
*)
error "未知组件: $TARGET"
echo "可用: redis, kafka, etcd, livekit, all"
echo "可用: redis, kafka, etcd, minio, livekit, all"
exit 1
;;
esac