wait for the containers to be up with docker compose w/ burnettk
This commit is contained in:
parent
3ffda7ad83
commit
affc4bec13
|
@ -12,3 +12,4 @@ process_models/
|
|||
.cache
|
||||
.mypy_cache
|
||||
.aider*
|
||||
/spiffworkflow_docker_compose
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function error_handler() {
|
||||
>&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
||||
echo >&2 "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
||||
exit "$2"
|
||||
}
|
||||
trap 'error_handler ${LINENO} $?' ERR
|
||||
set -o errtrace -o errexit -o nounset -o pipefail
|
||||
|
||||
mkdir -p spiffworkflow
|
||||
cd spiffworkflow
|
||||
mkdir -p spiffworkflow_docker_compose
|
||||
cd spiffworkflow_docker_compose
|
||||
wget https://raw.githubusercontent.com/sartography/spiff-arena/main/docker-compose.yml
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
docker compose up -d --wait
|
||||
|
|
Loading…
Reference in New Issue