Skip to content

Commit

Permalink
feat: add openim support docker compose deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong (cubxxw) <[email protected]>
  • Loading branch information
cubxxw committed Dec 18, 2023
1 parent 5823c24 commit 628ed87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
17 changes: 0 additions & 17 deletions config/Readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion deployments/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ envs:
zookeeper:
schema: openim # ZOOKEEPER_SCHEMA, the schema to use in Zookeeper
zkAddr:
- 127.0.0.1:12181 # ZOOKEEPER_ADDRESS and ZOOKEEPER_PORT, Zookeeper address and port
- 127.28.0.1:12181 # ZOOKEEPER_ADDRESS and ZOOKEEPER_PORT, Zookeeper address and port
username: "" # ZOOKEEPER_USERNAME, Username for Zookeeper authentication
password: "" # ZOOKEEPER_PASSWORD, Password for Zookeeper authentication

Expand Down
5 changes: 5 additions & 0 deletions scripts/docker_start_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ printf "${YELLOW_PREFIX}=======>pwd=%s${COLOR_SUFFIX}\n" "$PWD"
bin_dir="$BIN_DIR"
logs_dir="$SCRIPTS_ROOT/../logs"

if [ ! -d "$logs_dir" ]; then
echo "mkdir -p $logs_dir"
mkdir -p "$logs_dir"
fi

printf "${YELLOW_PREFIX}=======>bin_dir=%s${COLOR_SUFFIX}\n" "$bin_dir"
printf "${YELLOW_PREFIX}=======>logs_dir=%s${COLOR_SUFFIX}\n" "$logs_dir"
printf "${YELLOW_PREFIX}=======>sdk_db_dir=%s${COLOR_SUFFIX}\n" "$sdk_db_dir"
Expand Down

0 comments on commit 628ed87

Please sign in to comment.