File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,10 @@ if [ -z $DSS_FILE_NAME ]; then
6969fi
7070
7171function replaceCommonIp() {
72- if [ -z " $DSS_SERVER_INSTALL_IP " ]; then
72+ if [ -z " $DSS_SERVER_INSTALL_IP " ]; then
7373 DSS_SERVER_INSTALL_IP=$LOCAL_IP
7474 fi
75+
7576 if [ -z " $DSS_SERVER_PORT " ]; then
7677 DSS_SERVER_PORT=9002
7778 fi
@@ -83,12 +84,13 @@ function replaceCommonIp() {
8384 DSS_APPS_SERVER_PORT=9003
8485 fi
8586
86- if [[ $GATEWAY_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $GATEWAY_INSTALL_IP " ]; then
87+ if [[ $GATEWAY_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $GATEWAY_INSTALL_IP " ]; then
8788 GATEWAY_INSTALL_IP=$LOCAL_IP
88- fi
89- if [[ $EUREKA_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $EUREKA_INSTALL_IP " ]; then
89+ fi
90+
91+ if [[ $EUREKA_INSTALL_IP == " 127.0.0.1" ]] || [ -z " $EUREKA_INSTALL_IP " ]; then
9092 EUREKA_INSTALL_IP=$LOCAL_IP
91- fi
93+ fi
9294}
9395# #替换真实的IP
9496replaceCommonIp
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ GATEWAY_INSTALL_IP=127.0.0.1
2525GATEWAY_PORT=9001
2626
2727# ## Linkis BML Token
28- BML_AUTH=BML-14ddab34fbd640afa523dd8d1496c3c3
28+ BML_AUTH=BML-AUTH
2929
3030# ################## The install Configuration of all Micro-Services start #####################
3131#
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ wds.linkis.mysql.is.encrypt=false
2323wds.linkis.server.mybatis.datasource.url =
2424wds.linkis.server.mybatis.datasource.username =
2525***REMOVED***
26- wds.linkis.bml.auth.token.value =
27- linkis.configuration.linkisclient.auth.token.value =
28- wds.linkis.context.client.auth.value =
29- wds.linkis.errorcode.auth.token =
26+ wds.linkis.bml.auth.token.value =BML-AUTH
27+ linkis.configuration.linkisclient.auth.token.value =BML-AUTH
28+ wds.linkis.context.client.auth.value =BML-AUTH
29+ wds.linkis.errorcode.auth.token =BML-AUTH
3030
3131wds.dss.check.server.active.period =30
3232
You can’t perform that action at this time.
0 commit comments