So I have read the documentation but honestly without seeing an actual example of a config I am really having a hard time getting my head wrapped around this.
I have the following setup:
I have 1x physical baremetal machine that has Ubuntu running with HAProxy installed as an application directly on the operating system and then Docker that is running multiple containers.
Before anyone freaks out, this is just running as a temporary/example and is NOT production.
But I am not sure how to write out the HAProxy config file. I have it currently as:
I have the following domains that are going to be pointing to my public IP:
Can someone please assist me with showing the config file should be written. I am looking at this tutorial:
But I am not sure if the containers would be properly like this:
Can someone please help out?