From fc8191e8f5a03b31b8a1571c57cd544fe3870cde Mon Sep 17 00:00:00 2001 From: awieczarek Date: Sat, 19 Oct 2024 14:04:08 +0200 Subject: [PATCH] fix --- Dockerfile | 4 ---- app.ini | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88635c0..cabdb79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,3 @@ 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 - diff --git a/app.ini b/app.ini index 9b3392e..1d0d6fe 100644 --- a/app.ini +++ b/app.ini @@ -8,8 +8,7 @@ SSL_MODE = disable [server] DOMAIN = localhost -HTTP_PORT = 3000 -ROOT_URL = http://localhost:3000/ +HTTP_PORT = $PORT SSH_PORT = 2222 [repository]