This is a simple Docker setup of a Traefik container to do SSL/TSL terminantion (you delegate SSL/TLS to another service instead of doing it in the application itself).
It works with applications running on the host (instead of another container) if using the following on Docker Compose:
extra_hosts:
- "host.docker.internal:host-gateway"