adjust port
This commit is contained in:
parent
a1cd380049
commit
438a67c54f
2
run.sh
2
run.sh
@ -4,5 +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:]]*"`
|
||||||
mkdir /etc/gitea/conf
|
mkdir /etc/gitea/conf
|
||||||
echo "HTTP_PORT = $PORT" > /etc/gitea/conf/app.ini
|
echo "HTTP_PORT = $PORT;" > /etc/gitea/conf/app.ini
|
||||||
/usr/local/bin/docker-entrypoint.sh
|
/usr/local/bin/docker-entrypoint.sh
|
Loading…
Reference in New Issue
Block a user