amilys/bxcq

By amilys

Updated over 1 year ago

冰雪传奇服务端

Image
7

509

1. 下载服务端文件,解压密码:opve.cn

服务端

2. 打开ip.sh修改ip2为实际IP地址,运行ip.sh(打包的ip.sh脚本有个错误,复制下面的替换)

#!/bin/bash

#IP替换脚本

ip1="10.20.20.77"
ip2="10.20.20.252"

sed -i 's/'$ip1'/'$ip2'/' ./data/Debug/LogicServer/CrossSourceServer.config
sed -i 's/'$ip1'/'$ip2'/' ./data/Debug/LogicServer/data/config/Cross/CrossSourceServer.config
sed -i 's/'$ip1'/'$ip2'/' ./data/Debug2/LogicServer/CrossSourceServer.config
sed -i 's/'$ip1'/'$ip2'/' ./data/Debug2/LogicServer/data/config/Cross/CrossSourceServer.config
sed -i 's/'$ip1'/'$ip2'/' ./data/Debug_cross/LogicServer/data/config/Cross/CrossSourceServer.config


sed -i 's/'$ip1'/'$ip2'/' ./www/wwwroot/GameApp2/index.js
sed -i 's/'$ip1'/'$ip2'/' ./www/wwwroot/GameApp2/index1.js
sed -i 's/'$ip1'/'$ip2'/' ./www/wwwroot/GameApp2/GetServerList.php

3. 映射bxcq3/www目录到容器/www

4. 映射bxcq3/data目录映射到容器/data

5.映射端口81,9001,9002

docker run --itd -p 81:81 -p 9001:9001 -p 9002:9002 -v /mnt/bxcq3/www:/www -v /mnt/bxcq3/data:/data amilys/bxcq:latest

群晖

截图

游戏界面:http://ip:81
充值后台:http://ip:81/vip
GM码:amily

Docker Pull Command

docker pull amilys/bxcq