mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
sleep 10 15
This commit is contained in:
parent
1363c98cd8
commit
912ec51315
@ -95,6 +95,7 @@ services:
|
|||||||
- ./logs:/Open-IM-Server/logs
|
- ./logs:/Open-IM-Server/logs
|
||||||
- ./config/config.yaml:/Open-IM-Server/config/config.yaml
|
- ./config/config.yaml:/Open-IM-Server/config/config.yaml
|
||||||
- ./db/sdk:/Open-IM-Server/db/sdk
|
- ./db/sdk:/Open-IM-Server/db/sdk
|
||||||
|
- ./script:/Open-IM-Server/script
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- kafka
|
- kafka
|
||||||
|
@ -12,14 +12,14 @@ need_to_start_server_shell=(
|
|||||||
timer_start.sh
|
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
|
for i in ${need_to_start_server_shell[*]}; do
|
||||||
chmod +x $i
|
chmod +x $i
|
||||||
./$i
|
./$i
|
||||||
done
|
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
|
sleep 15
|
||||||
|
|
||||||
#fixme prevents the openIM service exit after execution in the docker container
|
#fixme prevents the openIM service exit after execution in the docker container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user