Use fail2ban for self-hosted server

Hey, anybody already made it work? I’m using the docker on Ubuntu 18.04