Skip to content
Snippets Groups Projects
Commit 54dc736c authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

fix portal_db env var when waiting for db ready

parent 08bf5961
No related branches found
No related tags found
No related merge requests found
#!/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"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment