mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 09:36:00 +08:00
fix: remove docker compose mysql (#1523)
* fix: remove docker compose mysql Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> * fix: remove docker compose mysql Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> * fix: set openim scripts Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> * fix: add openim scripts Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --------- Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
@@ -22,17 +22,6 @@ set -o pipefail
|
||||
OPENIM_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd -P)
|
||||
[[ -z ${COMMON_SOURCED} ]] && source "${OPENIM_ROOT}"/scripts/install/common.sh
|
||||
|
||||
# Start MySQL service
|
||||
docker run -d \
|
||||
--name mysql \
|
||||
-p 13306:3306 \
|
||||
-p 23306:33060 \
|
||||
-v "${DATA_DIR}/components/mysql/data:/var/lib/mysql" \
|
||||
-v "/etc/localtime:/etc/localtime" \
|
||||
-e MYSQL_ROOT_PASSWORD=${PASSWORD} \
|
||||
--restart always \
|
||||
mysql:5.7
|
||||
|
||||
# Start MongoDB service
|
||||
docker run -d \
|
||||
--name mongo \
|
||||
|
||||
Reference in New Issue
Block a user