We’re trying to deploy a simple application on Rancher as a test case for the platform, and a first dive into containerizing our infrastructure. As a test setup, we have a single box, running RancherOS and Rancher running on that host.
The stack we are trying to deploy consists of a API, DB and Job server. Relatively simple. We manually setup the stack components, it wasn’t clear how to use environment files with docker compose file (perhaps a catalog?), so this seemed to be the easiest way.
When we deployed these containers, we put a load balancer in front of the container and tried to bind to a public IP to the load balancer, and HA Proxy failed to start - it couldn’t bind the IP to the container.
So my question is, are we doing this the correct way? Am I missing something obvious, or is the answer to create a container to function as a termination point for the public IP and the route the stack.
Thanks!