2023-02-16 20:05:55 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
function error_handler() {
|
2024-06-06 19:22:14 +00:00
|
|
|
echo >&2 "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
2023-02-16 20:05:55 +00:00
|
|
|
exit "$2"
|
|
|
|
}
|
|
|
|
trap 'error_handler ${LINENO} $?' ERR
|
|
|
|
set -o errtrace -o errexit -o nounset -o pipefail
|
|
|
|
|
2024-06-06 19:22:14 +00:00
|
|
|
mkdir -p spiffworkflow_docker_compose
|
|
|
|
cd spiffworkflow_docker_compose
|
2023-02-16 20:05:55 +00:00
|
|
|
wget https://raw.githubusercontent.com/sartography/spiff-arena/main/docker-compose.yml
|
|
|
|
docker compose pull
|
2024-06-06 19:22:14 +00:00
|
|
|
docker compose up -d --wait
|