Commit 04011501 by tingweiwang

Update sed-config.sh

1 parent e611107a
Showing with 6 additions and 5 deletions
......@@ -12,14 +12,15 @@ mysql_user=root
mysql_password=seetatech
redis_host=192.168.1.53:6379
redis_password=seetatech
mongo_host='mongodb://admin:admin@192.168.1.51:27017,192.168.1.14:27017/kpl?replicaSet=my-mongodb\&authSource=admin' #&号前记得加转义
mongo_host='mongodb://admin:admin@192.168.1.51:27017,192.168.1.14:27017/kpl?replicaSet=my-mongodb\&authSource=admin' #&号前记得加转义,此处为mongo副本集客户端配置
#mongo_host='mongodb://admin:admin@192.168.1.51:27017/kpl?authSource=admin' 这里为单节点mongodb客户端配置
harbor_host=192.168.1.53:5000 #内部镜像仓库
hb_host=hub.kce.ksyun.com #外部镜像仓库(算法镜像仓库)
#################################kpl关键字################################
kpl_db_name=kpl
quota_db_name=quota
kpl_service_id=kpl3
kpl_realy_path=kpl
kpl_db_name=kpl #平台数据库名字,默认不更改
quota_db_name=quota #平台quota数据库,默认不更改
kpl_service_id=kpl3 #默认不更改
kpl_realy_path=kpl #默认不更改
###############################修改后端app.yaml################################
sudo sed -i s#redis_host#$redis_host#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#mysql_host#$mysql_host#g `find $config_workspace -type f -name "*.yaml"`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!