diff --git a/parse_db_url.sh b/parse_db_url.sh index 9d1fe44..1e480e6 100644 --- a/parse_db_url.sh +++ b/parse_db_url.sh @@ -6,4 +6,7 @@ export GITEA__database__PASSWD=$(echo ${DATABASE_URL} | sed -r "s|.*://[^:]+:([^ export GITEA__database__HOST=$(echo ${DATABASE_URL} | sed -r "s|.*@([^:]+):.*|\1|") export GITEA__database__NAME=$(echo ${DATABASE_URL} | sed -r "s|.*:([0-9]+)/([^?]+).*|\2|") -exec /usr/local/bin/gitea web -port $PORT & +echo $DATABASE_URL +echo $GITEA__database__NAME + +exec /usr/local/bin/gitea web -port $PORT