diff --git a/.env b/.env index 7ef344ac2..372eebbbc 100644 --- a/.env +++ b/.env @@ -15,5 +15,5 @@ USER=root PASSWORD=openIM123 MINIO_ENDPOINT=http://127.0.0.1:10005 -API_URL=http://127.0.0.1:10002 -DATA_DIR=./ +API_URL=http://14.153.17.42:10002 +DATA_DIR=/root/workspaces/openim/openim-server diff --git a/scripts/init-config.sh b/scripts/init-config.sh index af32ea95e..db77e7e76 100755 --- a/scripts/init-config.sh +++ b/scripts/init-config.sh @@ -31,8 +31,8 @@ readonly ENV_FILE=${ENV_FILE:-"${OPENIM_ROOT}/scripts/install/environment.sh"} # 定义关联数组,其中键是模板文件,值是对应的输出文件 # (en: Defines an associative array where the keys are the template files and the values are the corresponding output files.) declare -A TEMPLATES=( - ["${OPENIM_ROOT}/templates/env_template.yaml"]="${OPENIM_ROOT}/.env" - ["${OPENIM_ROOT}/templates/openim.yaml"]="${OPENIM_ROOT}/openim-server/main/config/config.yaml" + ["${OPENIM_ROOT}/deployments/templates/env_template.yaml"]="${OPENIM_ROOT}/.env" + ["${OPENIM_ROOT}/deployments/templates/openim.yaml"]="${OPENIM_ROOT}/config/config.yaml" ) for template in "${!TEMPLATES[@]}"; do