This commit is contained in:
Marcin Kostrzewski 2022-11-15 21:14:43 +01:00
parent cd3f742d01
commit 6d370b1158

1
run.sh
View File

@ -4,4 +4,5 @@ export GITEA__database__NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cu
export GITEA__database__USER=`echo $DATABASE_URL | grep -o "//[a-z]*:" | grep -o "[a-z]*"` export GITEA__database__USER=`echo $DATABASE_URL | grep -o "//[a-z]*:" | grep -o "[a-z]*"`
export GITEA__database__PASSWD=`echo $DATABASE_URL | grep -o ":[[:alnum:]]*@" | grep -o "[[:alnum:]]*"` export GITEA__database__PASSWD=`echo $DATABASE_URL | grep -o ":[[:alnum:]]*@" | grep -o "[[:alnum:]]*"`
echo "HTTP_PORT = $PORT;" > /var/lib/gitea/custom/conf/app.ini echo "HTTP_PORT = $PORT;" > /var/lib/gitea/custom/conf/app.ini
cat /var/lib/gitea/custom/conf/app.ini
/usr/local/bin/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh