wait for the containers to be up with docker compose w/ burnettk

This commit is contained in:
jasquat 2024-06-06 15:22:14 -04:00
parent 3ffda7ad83
commit affc4bec13
No known key found for this signature in database
2 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ process_models/
.cache
.mypy_cache
.aider*
/spiffworkflow_docker_compose

View File

@ -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