diff --git a/heroku-app.txt b/heroku-app.txt index a6faaf5..236e202 100644 --- a/heroku-app.txt +++ b/heroku-app.txt @@ -1 +1 @@ -https://s464863-gitea-8d04ad5317e1.herokuapp.com/ +https://s464863-gitea-24624f542db7.herokuapp.com/ diff --git a/script.sh b/script.sh index fb57769..bfbb2e4 100644 --- a/script.sh +++ b/script.sh @@ -24,9 +24,9 @@ ROOT_URL=$(cat $FILE) # Custom configuration mkdir -p /var/lib/gitea/custom/conf -echo $ROOT_URL - +# Add custom configuration printf "[server]\nROOT_URL = $ROOT_URL\n" > /var/lib/gitea/custom/conf/app.ini printf "[database]\nDB_TYPE = $DB_TYPE\nHOST = $HOST\nNAME = $NAME\nUSER = $USER\nPASSWD = $PASSWD\nSSL_MODE = $SSL_MODE\n" >> /var/lib/gitea/custom/conf/app.ini +# Start Gitea /usr/local/bin/gitea web -port $PORT \ No newline at end of file