This commit is contained in:
awieczarek 2024-10-19 14:01:03 +02:00
parent a0a3b17aa1
commit 1ad47b5339
2 changed files with 12 additions and 1 deletions

View File

@ -9,3 +9,7 @@ ENV GITEA__database__PASSWD=${DATABASE_PASSWORD}
ENV GITEA_CUSTOM=/var/lib/gitea/custom
COPY app.ini /var/lib/gitea/custom/conf/app.ini
RUN sed -i "s/HTTP_PORT\s*=\s*3000/HTTP_PORT = $PORT/" /var/lib/gitea/custom/conf/app.ini
RUN sed -i "s#ROOT_URL\s*=\s*http://localhost/#ROOT_URL = http://localhost:$PORT/#" /var/lib/gitea/custom/conf/app.ini

View File

@ -7,4 +7,11 @@ PASSWD = gitea
SSL_MODE = disable
[server]
HTTP_PORT = $PORT
DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:3000/
SSH_PORT = 2222
[repository]
ROOT = /data/git/repositories