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

24 lines
536 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
- 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 ?