Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
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 12c6bd1d
authored
Jan 20, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增autodl-admin-backend socker变量
1 parent
6d924941
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
script/autodl/2-replace-file.sh
script/autodl/2-replace-file.sh
View file @
12c6bd1
...
...
@@ -9,6 +9,7 @@ autodl_back_socket=ws://106.38.203.204:40091 #如果是域名 https此处需要
autodl_file
=
http://106.38.203.204:40093
#30093
autodl_admin_backend
=
http://106.38.203.204:30072
# 30092
deploy_is_private
=
true
# true代表私有部署
autodl_admin_back_socket
=
ws://106.38.203.204:30072
# 30092
###############其他依赖服务变量信息#########################################
autodl_es
=
http://192.168.1.32:9200
mysql_host
=
192.168.1.32:3306
...
...
@@ -42,6 +43,7 @@ sudo sed -i s#autodl_backend#$autodl_backend#g `find $workspace -type f -name pr
sudo sed -i s#autodl_back_socket#
$autodl_back_socket
#g `find $workspace -type f -name production-base.js`
sudo sed -i s#autodl_file#
$autodl_file
#g `find $workspace -type f -name production-base.js`
sudo sed -i s#autodl_admin_backend#
$autodl_admin_backend
#g `find $workspace -type f -name production-base.js`
sudo sed -i s#autodl_admin_back_socket#
$autodl_admin_back_socket
#g `find $workspace -type f -name production-base.js`
##################################修改Dockerfile#######################################################
...
...
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