# ===================================================================== # fail2ban-webui – hosts with fail2ban and the agent (copy to config/hosts.yaml) # # name shown in the UI (letters, digits, . _ -) # address DNS name or IP reachable from the container # port SSH port (default 22) # user SSH user of the agent (default: SSH_USER from .env, normally f2bweb) # # After changes: docker compose run --rm -it fail2ban-webui keyscan # docker compose restart # # The three entries below are EXAMPLES – replace them with your own hosts. # ===================================================================== hosts: - name: web01 address: web01.example.org - name: lxc-proxy address: 192.168.1.20 port: 2222 # fail2ban on the Docker host itself - name: dockerhost address: host.docker.internal