feat(server): 添加数据库和网关服务脚本并更新 Docker 配置

- 新增 DBServer 和 Gateway 的启动和停止脚本
- 更新 docker-compose.yml,添加 db 和 gate 服务
- 优化服务启动顺序,确保 db 服务先于 logic 和 gate 服务启动
This commit is contained in:
aixianling
2025-02-20 12:11:22 +08:00
parent 56013fb5fa
commit cb86244ff8
5 changed files with 108 additions and 7 deletions

11
Gateway/start.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
cd $(cd "$(dirname "$0")" && pwd)
path=`pwd`
./stop.sh
echo "======================【启动】========================"
datetime=`date "+%Y-%m-%d.%H:%M:%S"`
echo "["$datetime"] 正在启动 Logic 服务器 [gateway_r]..."
$path/gateway_r $path/GateWay.txt