@ -5,10 +5,6 @@ TZ=Europe/Berlin
# Global Settings (optional)
SRV_RESTART=
# fail2ban-input (optional)
F2BI_CONTAINER_NAME=
F2BI_TAG=
# fail2ban-docker (optional)
F2BD_CONTAINER_NAME=
F2BD_TAG=
# fail2ban (optional)
F2B_CONTAINER_NAME=
F2B_TAG=
@ -2,8 +2,8 @@ version: "3.2"
services:
fail2ban:
image: crazymax/fail2ban:${F2BI_TAG:-latest}
container_name: ${F2BI_CONTAINER_NAME:-fail2ban}
image: crazymax/fail2ban:${F2B_TAG:-latest}
container_name: ${F2B_CONTAINER_NAME:-fail2ban}
restart: ${SRV_RESTART:-unless-stopped}
network_mode: "host"
cap_add: