Run haproxy service on different ports?

The haproxy service uses ports 80 and 443. I would like to do something more like this:

ports:
  - "8080:80"
  - "4443:443"

Would this be possible? What would be affected and need to be changed? Thanks for any thoughts.

@rpelletier this isn’t something I have tried before, but I can forsee a few issues; mainly around the device connecting into the API instance, which I think is presumed to be port 443 in the code. Also the CLI isn’t configurable to the point where you can change the port being used, so this will give you trouble.