mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-24 05:18:22 +00:00
fix check for network
This commit is contained in:
parent
617f25cd4a
commit
ff05dc8331
@ -7,7 +7,7 @@ function error_handler() {
|
||||
trap 'error_handler ${LINENO} $?' ERR
|
||||
set -o errtrace -o errexit -o nounset -o pipefail
|
||||
|
||||
if ! grep -qE '\<spiffworkflow\>' <<<"$(docker network ls)" ; then
|
||||
if ! docker network inspect spiffworkflow > /dev/null 2>&1; then
|
||||
docker network create spiffworkflow
|
||||
fi
|
||||
docker rm keycloak 2>/dev/null || echo 'no keycloak container found'
|
||||
|
Loading…
x
Reference in New Issue
Block a user