1 Star 0 Fork 106

Pr1ncEss/毕升Office一键部署

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
reinstall.sh 748 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiehongan123 提交于 2021-10-15 17:26 . Update reinstall.sh
#!/usr/bin/env bash
echo "remove container nginx"
docker rm nginx -f 1 > /dev/null 2>&1
echo "remove apps "
docker rm drive_full editor_app convert editor -f 1 > /dev/null 2>&1
echo "remove service"
docker rm minio dgraphServer dgraphZero redis dgraphRatel rabbit mongod -f 1 > /dev/null 2>&1
docker network create bisheng 1 > /dev/null 2>&1
var=$(cat .config)
arr=()
for element in $var
do
arr[${#arr[*]}]=$element
done
echo ${arr[0]} ${arr[1]};
data=${arr[0]}
tag=${arr[1]}
echo "copy nginx config"
mv $data/service/nginx/config/conf.d/bisheng.conf $data/service/nginx/config/conf.d/bisheng.conf.bak
cp service/nginx/config/conf.d/bisheng.conf $data/service/nginx/config/conf.d -r
rm .config
echo "$data v3" > .config
bash upgrade.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/pr1ncesses/deploy.git
git@gitee.com:pr1ncesses/deploy.git
pr1ncesses
deploy
毕升Office一键部署
v3

搜索帮助