From 3f60a0fc79cc789d3fbfe1892b81e8dd44f6d740 Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Mon, 15 Jan 2018 16:35:31 +0100 Subject: [PATCH] database env var checks disabled --- bin/docker-entrypoint.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/docker-entrypoint.sh b/bin/docker-entrypoint.sh index 1a6e60c..fde73e1 100755 --- a/bin/docker-entrypoint.sh +++ b/bin/docker-entrypoint.sh @@ -73,15 +73,6 @@ email_cron_job() { echo "su -c \"$process_email\" -s /bin/sh www-data" >> $cron_task } -if [ -z "$DATASOURCES_DEFAULT_HOST" ] \ - && [ -z "$DATASOURCES_DEFAULT_USERNAME" ] \ - && [ -z "$DATASOURCES_DEFAULT_PASSWORD" ] \ - && [ -z "$DATASOURCES_DEFAULT_DATABASE" ]; then - echo >&2 'Error: database credentials not provided' - echo >&2 'You must provide database details: hostname, username and password' - exit 1 -fi - if [ ! -f "$gpg_private_key" ] && [ ! -L "$gpg_private_key" ] || \ [ ! -f "$gpg_public_key" ] && [ ! -L "$gpg_public_key" ]; then gpg_gen_key