From cac980546e15882a232ce234cbde3e0cda693352 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 30 Jun 2020 17:26:19 +0200 Subject: Get Docker setup working --- build/configure.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 build/configure.sh (limited to 'build') diff --git a/build/configure.sh b/build/configure.sh deleted file mode 100755 index 7dda7773..00000000 --- a/build/configure.sh +++ /dev/null @@ -1,23 +0,0 @@ -if [ -z "$MONGO_DB" ]; then - echo "MONGO_DB environment variable not specified" - exit 1 -fi - -if [ -z "$MONGO_DB_USER" ]; then - echo "MONGO_DB_USER environment variable not specified" - exit 1 -fi - -if [ -z "$MONGO_DB_PASSWORD" ]; then - echo "MONGO_DB_PASSWORD environment variable not specified" - exit 1 -fi - -MONGO_COMMAND="mongo $MONGO_DB -h $MONGO_DB_HOST --port $MONGO_DB_PORT -u $MONGO_DB_USERNAME -p $MONGO_DB_PASSWORD --authenticationDatabase $MONGO_DB" - -until eval $MONGO_COMMAND --eval 'db.getCollectionNames();' ; do - echo "MongoDB is unavailable - sleeping" - sleep 1 -done - -echo "MongoDB available" -- cgit v1.2.3