mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-29 22:44:36 +03:00
bf1de1f436
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
14 lines
395 B
Bash
Executable File
14 lines
395 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
docker compose -p sanity kill
|
|
docker compose -p sanity down --volumes
|
|
docker compose -f docker-compose.yaml -p sanity up elastic mongodb postgres -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 |