mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-20 18:02:01 +03:00
61ecae6363
Signed-off-by: Alex Velichko <alex@hardcoreeng.com>
14 lines
355 B
Bash
Executable File
14 lines
355 B
Bash
Executable File
#!/bin/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 |