swaks and host
This commit is contained in:
parent
7fa7b4cb7c
commit
62a1f8855d
@ -6,6 +6,7 @@ services:
|
|||||||
hostname: fail2ban
|
hostname: fail2ban
|
||||||
container_name: fail2ban
|
container_name: fail2ban
|
||||||
restart: always
|
restart: always
|
||||||
|
privileged: true
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- /etc/fail2ban/entrypoint.sh
|
- /etc/fail2ban/entrypoint.sh
|
||||||
@ -16,12 +17,7 @@ services:
|
|||||||
- 22:22/tcp
|
- 22:22/tcp
|
||||||
- 2222:2222/tcp
|
- 2222:2222/tcp
|
||||||
networks:
|
networks:
|
||||||
mynet:
|
failnet:
|
||||||
ipv4_address: 172.24.0.101
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
mynet:
|
failnet:
|
||||||
driver: bridge
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 172.24.0.0/24
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
FROM debian:sid-slim
|
FROM debian:sid-slim
|
||||||
RUN apt update && apt -y upgrade && apt -y install fail2ban openssh-server rsyslog && apt clean
|
RUN apt update && apt -y upgrade && apt -y install fail2ban openssh-server rsyslog swaks host && apt clean
|
||||||
WORKDIR /etc/fail2ban
|
WORKDIR /etc/fail2ban
|
||||||
|
Loading…
Reference in New Issue
Block a user