I using this for my setup(live-production)... but i had to customize according to my needs
please dont just run docker compose up it will fail fist rename .env.example to .env 2nd put you vaules there and then run...
I will later add exact steps with links.
https://www.smarthomebeginner.com/cloudflare-settings-for-traefik-docker/
https://www.smarthomebeginner.com/traefik-2-docker-tutorial/
https://www.smarthomebeginner.com/google-oauth-with-traefik-2-docker/
Thanks to content creators for there active support
https://github.com/htpcBeginner
https://www.the-digital-life.com/
This is a demonstration of how to configure an offline root CA and a surbodinate enterprise CA
https://www.youtube.com/watch?v=pRy4Il_qjh4&t=79s
Full list of Windows server demo
https://www.youtube.com/playlist?list=PLPbPssOfdt-yxxJGHTej-EnHPFOEg0y_0
for online step -ca
container is light weight <20mb of ram
https://github.com/smallstep/certificates
https://www.youtube.com/watch?v=RI-kOhFMvUc
https://www.youtube.com/watch?v=AY0En4q-86M
but mine is localy installed in k3s you can also install in docker too
https://hub.docker.com/r/qmcgaw/dns
https://github.com/cturra/docker-ntp
https://github.com/traefik/traefik
https://github.com/pi-hole/pi-hole