feat: attached firewall to server instance
This commit is contained in:
13
gitea/Containerfile.dev
Normal file
13
gitea/Containerfile.dev
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM gitea/gitea:latest-rootless
|
||||
|
||||
ADD --chown=git:git config /etc/gitea
|
||||
ADD --chown=git:git custom /etc/gitea-custom
|
||||
|
||||
ENV GITEA_CUSTOM=/etc/gitea-custom
|
||||
|
||||
RUN rm /etc/gitea/app.ini
|
||||
RUN mv /etc/gitea/dev.app.ini /etc/gitea/app.ini
|
||||
|
||||
WORKDIR /etc/gitea-custom
|
||||
|
||||
RUN gitea cert --host localhost --ca
|
||||
Reference in New Issue
Block a user