Hi, I have set up a Consul/Nomad cluster and I'm pretty impressed with the capabilities so far. Also love the fact that everything goes into a single binary.. this makes it easy to deploy.
I have deployed a few single-container jobs on Nomad no problem. But now I'm trying to do a small PHP application that consists of 2 containers: one running php-fpm and the other running nginx. Nginx needs to be able to communicate with the php-fpm container in order to serve up the site. This kind of container-to-container linking was trivial in docker-compose, but now I need to deploy it on Nomad. It seems like Nomad is designed for this kind of thing (at least, the concept of "groups" in Nomad jobs makes me think so) but I can't find any examples of this being done. Can anyone enlighten me?
Chris