HAProxy community

Simple proxy on lan

On one of servers I got services that needs to be accessed from LAN.
All ot them are containers and a local dns pointing towards the server, but the services are all on different ports. I guess that HAProxy can handle this?

services.donmail.io -> // 8080, 8181 an so on.