mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
cleanup repo
This commit is contained in:
6
examples/fail2ban/README.md
Normal file
6
examples/fail2ban/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# References
|
||||
|
||||
- https://github.com/crazy-max/docker-fail2ban
|
||||
- https://blog.lrvt.de/configuring-fail2ban-with-traefik/
|
||||
- https://blog.lrvt.de/fail2ban-with-nginx-proxy-manager/
|
||||
- https://github.com/l4rm4nd/F2BFilters
|
||||
18
examples/fail2ban/docker-compose.yml
Normal file
18
examples/fail2ban/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
fail2ban:
|
||||
container_name: fail2ban
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
- F2B_DB_PURGE_AGE=14d
|
||||
image: crazymax/fail2ban:latest
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/docker-volumes/fail2Ban/data:/data
|
||||
- /path/to/my/logs/to/monitor:/var/log
|
||||
#- /mnt/docker-volumes/traefik/logs:/var/log/traefik
|
||||
Reference in New Issue
Block a user