feat(server): 添加数据库和网关服务脚本并更新 Docker 配置
- 新增 DBServer 和 Gateway 的启动和停止脚本 - 更新 docker-compose.yml,添加 db 和 gate 服务 - 优化服务启动顺序,确保 db 服务先于 logic 和 gate 服务启动
This commit is contained in:
11
Gateway/start.sh
Normal file
11
Gateway/start.sh
Normal 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
|
||||
Reference in New Issue
Block a user