diff --git a/run.sh b/run.sh index cb97623..8a88671 100644 --- a/run.sh +++ b/run.sh @@ -3,6 +3,5 @@ export GITEA__database__HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' export GITEA__database__NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-` 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:]]*"` -mkdir /etc/gitea/conf -echo "HTTP_PORT = $PORT;" > /etc/gitea/conf/app.ini +echo "HTTP_PORT = $PORT;" > /etc/gitea/custom/conf/app.ini /usr/local/bin/docker-entrypoint.sh \ No newline at end of file