Added fail2ban, though not sure its configured correctly yet

This commit is contained in:
Jamie Curnow committed 2023-03-09 22:11:28 +10:00
1 parent e959e54dc8
commit 700518a0a2
245 files changed
+9172 -5

No files matched your search

+6
View File
@@ -53,6 +53,12 @@ ENV SUPPRESS_NO_CONFIG_WARNING=1 \
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf
# fail2ban
RUN apt-get update \
&& apt-get install -y --no-install-recommends fail2ban \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /etc/fail2ban
# s6 overlay
COPY scripts/install-s6 /tmp/install-s6
RUN /tmp/install-s6 "${TARGETPLATFORM}" && rm -rf /tmp/*