forked from github/dataease
Merge pull request #11295 from dataease/pr@dev-v2_fix_installer
fix: 处理installer脚本中对端口的提示
This commit is contained in:
commit
ba0100274a
@ -28,6 +28,7 @@ function prop {
|
|||||||
function check_and_prepare_env_params() {
|
function check_and_prepare_env_params() {
|
||||||
log "当前时间 : $(date)"
|
log "当前时间 : $(date)"
|
||||||
log_title "检查安装环境并初始化环境变量"
|
log_title "检查安装环境并初始化环境变量"
|
||||||
|
DE_APISIX_PORT=9080
|
||||||
|
|
||||||
cd ${CURRENT_DIR}
|
cd ${CURRENT_DIR}
|
||||||
if [ -f /usr/bin/dectl ]; then
|
if [ -f /usr/bin/dectl ]; then
|
||||||
@ -297,7 +298,7 @@ function start_de_service() {
|
|||||||
|
|
||||||
access_port=$DE_PORT
|
access_port=$DE_PORT
|
||||||
if [[ $DE_INSTALL_MODE != "community" ]];then
|
if [[ $DE_INSTALL_MODE != "community" ]];then
|
||||||
access_port=9080
|
access_port=$DE_APISIX_PORT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user