swaks and host
This commit is contained in:
parent
7fa7b4cb7c
commit
62a1f8855d
@ -6,6 +6,7 @@ services:
|
||||
hostname: fail2ban
|
||||
container_name: fail2ban
|
||||
restart: always
|
||||
privileged: true
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- /etc/fail2ban/entrypoint.sh
|
||||
@ -16,12 +17,7 @@ services:
|
||||
- 22:22/tcp
|
||||
- 2222:2222/tcp
|
||||
networks:
|
||||
mynet:
|
||||
ipv4_address: 172.24.0.101
|
||||
failnet:
|
||||
|
||||
networks:
|
||||
mynet:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.24.0.0/24
|
||||
failnet:
|
||||
|
@ -1,3 +1,3 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user