This commit is contained in:
Marcin Kostrzewski 2022-11-15 21:20:58 +01:00
parent ec66df79e7
commit 29ef1a6f76

2
run.sh
View File

@ -5,4 +5,4 @@ export GITEA__database__USER=`echo $DATABASE_URL | grep -o "//[a-z]*:" | grep -o
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:]]*"`
printf "[server]\nHTTP_PORT = $PORT;\n" > /var/lib/gitea/custom/conf/app.ini printf "[server]\nHTTP_PORT = $PORT;\n" > /var/lib/gitea/custom/conf/app.ini
cat /var/lib/gitea/custom/conf/app.ini cat /var/lib/gitea/custom/conf/app.ini
/usr/local/bin/docker-entrypoint.sh /usr/local/bin/gitea web -port $PORT