Help with personal web server

I have a personal web server i run a couple different web services on my domain.

I run into an issue with trying to setup security on it.

All my services run inside docker containers.

Ive been trying to get fail2ban to function but im not getting it to function like i expect.

And im wanting to setup a LDAP server but id like somebody who has worked with this before.

Any help is appreciated.