提交 99da85a3 编写于 作者: W wenxu12345

sleep 10 15

上级 589c3ebf
......@@ -95,6 +95,8 @@ services:
- ./logs:/Open-IM-Server/logs
- ./config/config.yaml:/Open-IM-Server/config/config.yaml
- ./db/sdk:/Open-IM-Server/db/sdk
- ./script:/Open-IM-Server/script
restart: always
depends_on:
- kafka
......
......@@ -12,13 +12,14 @@ need_to_start_server_shell=(
timer_start.sh
)
#fixme The 10 second delay to start the project is for the docker-compose one-click to start openIM when the infrastructure dependencies are not started
sleep 10
for i in ${need_to_start_server_shell[*]}; do
chmod +x $i
./$i
done
#fixme The 15 second delay to start the project is for the docker-compose one-click to start openIM when the infrastructure dependencies are not started
sleep 15
#fixme prevents the openIM service exit after execution in the docker container
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册