mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
fix: clean existing containers before Docker compose up to avoid port conflicts
Former-commit-id: 90c1c5d29595bf7f59b66a7de23b7ff89834c6c5
This commit is contained in:
@@ -75,6 +75,10 @@ log_ok "Phase 2 complete"
|
||||
# ============================================
|
||||
log_info "Phase 3/6: Docker infrastructure"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Stop and remove any existing v2test containers (clean restart)
|
||||
docker compose -f docker-compose.infra.yml down --remove-orphans 2>/dev/null || true
|
||||
|
||||
docker compose -f docker-compose.infra.yml up -d
|
||||
|
||||
log_info "Waiting for Consul..."
|
||||
|
||||
Reference in New Issue
Block a user