mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 19:15:31 +00:00
i am terrible
This commit is contained in:
parent
b7d154ff02
commit
82ec34e00b
@ -44,8 +44,8 @@ if [[ "${1:-}" == "clean" ]]; then
|
|||||||
# TODO: check to see if the db already exists and we can connect to it. also actually clean it up.
|
# TODO: check to see if the db already exists and we can connect to it. also actually clean it up.
|
||||||
# start postgres in background with one db
|
# start postgres in background with one db
|
||||||
if [[ "${SPIFFWORKFLOW_BACKEND_DATABASE_TYPE:-}" == "postgres" ]]; then
|
if [[ "${SPIFFWORKFLOW_BACKEND_DATABASE_TYPE:-}" == "postgres" ]]; then
|
||||||
container_name = "postgres-spiff"
|
container_name="postgres-spiff"
|
||||||
container_regex = "^postgres-spiff$"
|
container_regex="^postgres-spiff$"
|
||||||
if [[ -n "$(docker ps -qa -f name=$container_regex)" ]]; then
|
if [[ -n "$(docker ps -qa -f name=$container_regex)" ]]; then
|
||||||
echo ":: Found postgres container - $container_name"
|
echo ":: Found postgres container - $container_name"
|
||||||
if [[ -n "$(docker ps -q -f name=$container_regex)" ]]; then
|
if [[ -n "$(docker ps -q -f name=$container_regex)" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user