chore: 清理 scripts 目录,保留核心运维和部署脚本

## 变更内容

### 保留的核心运维脚本
-  start.sh - 启动服务
-  stop.sh - 停止服务
-  init-pgvector.sql - 数据库初始化

### 保留的部署工具
-  deploy-production.sh - 生产环境部署
-  backup-production.sh - 生产环境备份
-  set-contact-token.sh - 设置联系令牌
-  set-remote-contact-token.sh - 设置远程令牌
-  verify-contact-token.sh - 验证令牌

### 删除的临时调试脚本
-  debug-webhook.sh - 实时监控日志
-  check-conversations.sh - 检查会话
-  check-chatwoot-config.sh - 检查配置
-  verify-webhook.sh - 验证webhook
-  update-chatwoot-webhook.sh - 更新webhook

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
wangliang
2026-01-27 13:59:12 +08:00
parent 0f13102a02
commit c8f26b6f9f
12 changed files with 473 additions and 406 deletions

21
scripts/stop.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# 停止脚本 - B2B AI Assistant
set -e
echo "========================================"
echo "🛑 停止 B2B AI Assistant 服务"
echo "========================================"
echo ""
# 停止服务
echo "🐳 停止 Docker 服务..."
docker-compose down
echo ""
echo "✅ 所有服务已停止"
echo ""
echo "💡 提示:"
echo " 如需删除数据卷,运行: docker-compose down -v"
echo " 如需重新启动,运行: ./scripts/start.sh"
echo ""