This commit is contained in:
awieczarek 2024-10-20 16:06:54 +02:00
parent dd33b15296
commit 949e8d8696

View File

@ -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__HOST=$(echo ${DATABASE_URL} | sed -r "s|.*@([^:]+):.*|\1|")
export GITEA__database__NAME=$(echo ${DATABASE_URL} | sed -r "s|.*:([0-9]+)/([^?]+).*|\2|") 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