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]