I have several docker containers running web apps. They can be accessed on my network using the IP of the host and the port number i've bound to in the container.
I would like to be able to access the apps via a fqdn, for example, app1.home.com (or home.com/app1 if that is easier).
To achieve this I guess I would need a dhcp and dns server running on my network. I plan to configure dnsmasq. This would allow me to resolve the home.com domain locally.
Then I figure I would need a proxy of some description to route to the specific port. I know this can be achieved with nginx or apache, but I don't know how and it seems a bit over kill. I think HAProxy could be an option, again I dont know how.
TL;DR: How can I address web-apps running in docker containers using a fqdn on my home network?