This commit is contained in:
awieczarek 2024-10-23 13:03:48 +02:00
parent 6ef5d5d1e6
commit 1126f1f12e

View File

@ -12,9 +12,9 @@ NAME=$(echo $DATABASE_URL | sed -e 's,.*/\(.*\)$,\1,')
SSL_MODE="require" SSL_MODE="require"
printf "\n[server]\n" >> /var/lib/gitea/custom/conf/app.ini printf "\n[server]\n" >> /var/lib/gitea/custom/conf/app.ini
printf "HTTP_PORT = $PORT\n" > /var/lib/gitea/custom/conf/app.ini printf "HTTP_PORT = $PORT\n" >> /var/lib/gitea/custom/conf/app.ini
printf "[database]\n" > /var/lib/gitea/custom/conf/app.ini printf "[database]\n" >> /var/lib/gitea/custom/conf/app.ini
printf "DB_TYPE = $DB_TYPE\n" >> /var/lib/gitea/custom/conf/app.ini printf "DB_TYPE = $DB_TYPE\n" >> /var/lib/gitea/custom/conf/app.ini
printf "HOST = $HOST:$PORT\n" >> /var/lib/gitea/custom/conf/app.ini printf "HOST = $HOST:$PORT\n" >> /var/lib/gitea/custom/conf/app.ini
printf "NAME = $NAME\n" >> /var/lib/gitea/custom/conf/app.ini printf "NAME = $NAME\n" >> /var/lib/gitea/custom/conf/app.ini