3 ms·
Is fig the authoritative way to deploy a bunch of Docker instances for a fairly basic stack - web server, DB, elasticsearch ? I started off thinking about Ansi
by sandGorgon 12y ago
Is fig the authoritative way to deploy a bunch of Docker instances for a fairly basic stack - web server, DB, elasticsearch ?
I started off thinking about Ansible, but it seems most people on #docker were using Fig. But I dont know what people are doing in production
- aanand 12y agoFig works in production, but it's not our focus. We wrote a blog post on it a while back - it's Orchard-specific, but covers what you need to think about, especially in the "Configuring for deployment" section: https://www.orchardup.com/blog/develop-and-deploy-an-app-with-fig-and-orchard https://www.orchardup.com/blog/develop-and-deploy-an-app-wit...
- sandGorgon 12y agoAre you planning on retaining fig in its current form or probably merging it into Chef/Ansible? In the long term, do you believe that having a very specific CM tools is going to be better than supporting something having a lit of mind share?
- superuser2 12y agoThe APIs are pretty simple. You could most likely write the orchestration you wanted in a shell script full of calls to curl, or do the same in a nicer scripting language with a decent JSON and http library. I'm working on a very simple orchestrator along the lines for my own needs, as well as a Sinatra application that serves nginx configs to load-balance all the containers running a particular image on a set of hosts. There are many tools in this space, but it's also not hard to write your own - you're just wiring together some REST APIs.
- superuser2 12y agoThe APIs are pretty simple. You could most likely write the orchestration you wanted in a shell script full of calls to curl, or do the same in a nicer scripting language with a decent JSON and http library. I'm working on a very simple orchestrator along those lines for my own needs (which I will open-source), as well as a Sinatra application that serves nginx configs to load-balance all the containers running a particular image on a set of hosts. There are many tools in this space, but it's also not hard to write your own - you're just wiring together some REST APIs.