Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksy-project-docking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 04011501
authored
Sep 02, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sed-config.sh
1 parent
e611107a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
sed-configmap/sed-config.sh
sed-configmap/sed-config.sh
View file @
0401150
...
...
@@ -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"`
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment