This commit is contained in:
awieczarek 2024-10-19 14:04:08 +02:00
parent 1ad47b5339
commit fc8191e8f5
2 changed files with 1 additions and 6 deletions

View File

@ -9,7 +9,3 @@ ENV GITEA__database__PASSWD=${DATABASE_PASSWORD}
ENV GITEA_CUSTOM=/var/lib/gitea/custom ENV GITEA_CUSTOM=/var/lib/gitea/custom
COPY app.ini /var/lib/gitea/custom/conf/app.ini 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

@ -8,8 +8,7 @@ SSL_MODE = disable
[server] [server]
DOMAIN = localhost DOMAIN = localhost
HTTP_PORT = 3000 HTTP_PORT = $PORT
ROOT_URL = http://localhost:3000/
SSH_PORT = 2222 SSH_PORT = 2222
[repository] [repository]