mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-27 04:38:54 +00:00
[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.
This commit is contained in:
1 parent
ed11e7586e
commit
dc463c3dda
6 files changed
+71
-63
No files matched your search
@@ -2,7 +2,7 @@ FROM python:2-alpine
|
||||
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
||||
|
||||
RUN apk add -U --no-cache iptables ip6tables
|
||||
RUN pip install docker redis
|
||||
RUN pip install redis ipaddress
|
||||
|
||||
COPY logwatch.py /
|
||||
CMD ["python2", "-u", "/logwatch.py"]
|
||||
Reference in new issue
Block a user