From d70a98ee9a9b0037c3fdfa0b3b14a4424a78ccfd Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Mon, 28 Aug 2023 21:55:36 +0800 Subject: [PATCH] feat: add more test project Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .env | 4 ++-- scripts/init-config.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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