swaks and host

This commit is contained in:
ale 2019-06-20 11:11:33 +00:00
parent 7fa7b4cb7c
commit 62a1f8855d
2 changed files with 4 additions and 8 deletions

View File

@ -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:

View File

@ -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