You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-fail2ban/docker-compose.yml

19 lines
409 B

4 years ago
version: "3.2"
services:
fail2ban:
4 years ago
image: crazymax/fail2ban:${F2BI_TAG:-latest}
container_name: ${F2BI_CONTAINER_NAME:-fail2ban}
4 years ago
restart: ${SRV_RESTART:-unless-stopped}
network_mode: "host"
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- ${LOCAL_STACK_DIR}/data:/data
4 years ago
- /var/log:/var/log:ro
env_file:
- "./fail2ban.env"
environment:
- TZ=${TZ}