2
0

feat: update build process

This commit is contained in:
simonzhangsz
2024-12-14 13:59:46 +08:00
parent 5c6db759c8
commit 7aec88f9e8
3 changed files with 4 additions and 4 deletions

View File

@@ -36,11 +36,11 @@ case "$1" in
org_env_file=${docker_work_dir}/.env
tmp_env_file=${docker_work_dir}/temp.env
if [ -f ${org_env_file} ]; then
if [ ! -f ${org_env_file} ]; then
cp ${def_env_file} ${org_env_file}
fi
if [ ${new_ip} != "" ]; then
if [ ! -z "${new_ip}" ]; then
# 使用sed命令替换IP地址
# 替换.env文件
sed "s/NACOS_SERVER_ADDR=.*/NACOS_SERVER_ADDR=${new_ip}:8848/" ${org_env_file} > $tmp_env_file

View File

@@ -67,7 +67,7 @@ or
sudo systemctl start/status/stop wfccontrol.service
```
## 通过浏览器访问客户门户和用户门户
## 通过浏览器访问客户平台和用户平台
* 客户平台门户地址: