6 ms·
Why does the fig documentation emphasis development environments. Isn't fig a general orchestration tool for deploying containers on a single host?
by throwaway1979 12y ago
Why does the fig documentation emphasis development environments. Isn't fig a general orchestration tool for deploying containers on a single host?
- enos_feedler 12y agoHow many production environments deploy all containers on a single host?
- Zariel 12y agoIf your not then your missing out on utilising your resources, check out Mesos or Kubernetes for instance.
- ossreality 12y agoI don't know on what planet "Kubernetes" is an answer to "Who runs all containers on a single host". Because that's sure not what Kubernetes or Mesos do.
- skrebbel 12y agoA lot? I Guess? Why not? In fact, I'm amazed at the amount of businesses that don't. Half of what TechCrunch writes about is, in technical terms, Rails CRUD apps. Why would they need more than a single host in the first year?
- Jare 12y agoBecause hosts die.
- TheMakeA 12y agoThere's fig2coreos[1] which will translate your fig.yml into systemd files. Then you could deploy across a CoreOS cluster[2]. Pretty interesting. [1] https://github.com/centurylinklabs/fig2coreos https://github.com/centurylinklabs/fig2coreos [2] http://www.centurylinklabs.com/building-complex-apps-for-docker-on-coreos-and-fig/ http://www.centurylinklabs.com/building-complex-apps-for-doc...
- zenlikethat 12y agofig generally gets used for development environments since it's relatively easy to install docker, install fig, clone a repo and run `fig up` and get that application running correctly with all of its dependencies including database, background workers, etc. No more of the old "ok, install postgres, install the right gems, etc. just to make some small change in this project" song and dance! However, it's perfectly suited to run in production for small to medium sized applications. You can even see a sample "Deploy on git push using fig" that I put together here: https://github.com/nathanleclaire/laraveldocker https://github.com/nathanleclaire/laraveldocker It's fun!