mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-30 02:37:46 +03:00
8003611c37
Signed-off-by: Egor Savkin <tomasfire@live.com>
14 lines
363 B
Bash
Executable File
14 lines
363 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
docker compose -p sanity kill
|
|
docker compose -p sanity down --volumes
|
|
docker compose -p sanity up elastic mongodb -d --force-recreate --renew-anon-volumes
|
|
docker_exit=$?
|
|
if [ ${docker_exit} -eq 0 ]; then
|
|
echo "Container started successfully"
|
|
else
|
|
echo "Container started with errors"
|
|
exit ${docker_exit}
|
|
fi
|
|
|
|
./wait-elastic.sh 9201 |