it depends on your solution… quick search in this forum shows an example for traefik reverse proxy
and the short answer: no you can’t configure everything using docker-compose… sooner or later you need to adopt config files of the respective software as well as most of the software packages is not developed for containers only and container is often only the simplified way to run it…