homelab/bxl-shp/system/docker-compose.fail2ban.yaml

26 lines
649 B
YAML

services:
fail2ban:
container_name: fail2ban
restart: unless-stopped
image: crazymax/fail2ban:latest
environment:
- TZ=Europe/Paris
- PUID=1000
- PGID=1000
- F2B_DB_PURGE_AGE=30d
volumes:
- $DATA/fail2ban:/data
- $DATA/vaultwarden:/remotelogs/vaultwarden:ro
- $DATA/honeypots/ssh-honeypot:/remotelogs/ssh-honeypot:ro
- $DATA/authelia/logs:/remotelogs/authelia:ro
- type: bind
source: /home/shp/.ssh/mkrouter
target: /ssh-key/mkrouter
- type: bind
source: /home/shp/.ssh/known_hosts
target: /root/.ssh/known_hosts
# authelia
# hass
# traefik ?