I'm trying to create a local environment for testing purpose composed of:
- a Vagrant CoreOS Cluster (3 nodes)
- a Docker container launched with an Nginx image loaded, launched on one node
I've successfully installed Vagrant and CoreOS. Etcd is up and running and I've played a lot with Fleet. I've also launched a Nginx container throw Fleet services. What I can't really figure out is:
- How can I route traffic on a specific container? I want that pointing my local browser to a local address (i.e. example.dev), the cluster answers with the right Nginx container (placed somewhere on the cluster).
- Is a proxy an appropriate solution? If not - is there something created for this purpose?
Thanks in advance and feel free to ask more details I may have forgotten!