diff --git a/run.sh b/run.sh index 651d14b..eaf5d2e 100644 --- a/run.sh +++ b/run.sh @@ -1,10 +1,9 @@ #!/bin/bash -FILE=./app_url.txt +FILE=/app/app_url.txt ROOT_URL=$(cat $FILE) - HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' | cut -c 2-` NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-` USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"`