diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-06-30 17:26:19 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:44:35 +0200 |
| commit | cac980546e15882a232ce234cbde3e0cda693352 (patch) | |
| tree | 50fed18858c6c5cbb11c3ecb690ebbff8bc98525 /build | |
| parent | 80730074581b8a934fb5b064a54912f620fad978 (diff) | |
Get Docker setup working
Diffstat (limited to 'build')
| -rwxr-xr-x | build/configure.sh | 23 |
1 files changed, 0 insertions, 23 deletions
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" |
