From 494c2ed740f6866fc05ae5544734c735dea8d978 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Tue, 15 Nov 2022 20:53:23 +0100 Subject: [PATCH] adjust port --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index 1534729..784f75d 100644 --- a/run.sh +++ b/run.sh @@ -3,4 +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:]]*"` +echo `HTTP_PORT = $PORT` > /etc/gitea/conf/app.ini /usr/local/bin/docker-entrypoint.sh \ No newline at end of file