From e04c448475e0cbc5649c666ad367af6b3572cf3f Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Mon, 16 Sep 2024 21:32:24 -0400 Subject: [PATCH] add f2b to arm --- docker/arm/docker-compose.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docker/arm/docker-compose.yml b/docker/arm/docker-compose.yml index 42b666c..8c8f424 100644 --- a/docker/arm/docker-compose.yml +++ b/docker/arm/docker-compose.yml @@ -65,6 +65,30 @@ services: restart: unless-stopped networks: - gitea_main + + fail2ban: + image: crazymax/fail2ban:1.1.0 + container_name: fail2ban + network_mode: "host" + cap_add: + - NET_ADMIN + - NET_RAW + volumes: + - "/docker/appdata/fail2ban/data:/data" + - "/var/log/auth.log:/var/log/auth.log:ro" + - "/docker/appdata/nginx/data/logs/:/log/npm/:ro" + environment: + - TZ=America/New_York + - F2B_LOG_TARGET=STDOUT + - F2B_LOG_LEVEL=INFO + - F2B_DB_PURGE_AGE=1d + - SSMTP_HOST=$SSMTP_HOST + - SSMTP_PORT=587 + - SSMTP_HOSTNAME=$SSMTP_HOSTNAME + - SSMTP_USER=$SSMTP_USER + - SSMTP_PASSWORD=$SSMTP_PASSWORD + - SSMTP_TLS=YES + restart: always uptime-kuma: image: louislam/uptime-kuma:1.23.13