fix
This commit is contained in:
parent
a0a3b17aa1
commit
1ad47b5339
@ -9,3 +9,7 @@ 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user