From 54dc736cb7ae4f51cb134be3155ef069cc82b18e Mon Sep 17 00:00:00 2001 From: Mirco Nasuti <mirco.nasuti@chuv.ch> Date: Mon, 12 Sep 2016 12:42:32 +0200 Subject: [PATCH] fix portal_db env var when waiting for db ready --- docker/runner/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/runner/run.sh b/docker/runner/run.sh index 50ecb2482..5da303862 100755 --- a/docker/runner/run.sh +++ b/docker/runner/run.sh @@ -1,8 +1,8 @@ #!/bin/sh OPTS="-template /config/application.tmpl:/config/application.yml" -if [ ! -z "$PORTAL_DB_URL" ]; then - OPTS="$OPTS -wait tcp://$PORTAL_DB_URL -timeout 60s" +if [ ! -z "$PORTAL_DB_SERVER" ]; then + OPTS="$OPTS -wait tcp://$PORTAL_DB_SERVER -timeout 60s" fi if [ ! -z "$META_DB_SERVER" ]; then OPTS="$OPTS -wait tcp://$META_DB_SERVER -timeout 60s" -- GitLab