Re:Docker orchestration
by falcolas on Monday February 09, 2015 @12:17PM
(#9022288)
As a point of comparison, an approximation (ie. untested, probably some syntax errors) of the corresponding Ansible tasks:
Implementation note: this uses an init file for the python app, which will depend upon what OS and init system you're running it under. Also missing handlers for restarting services when config files change.
[ Parent
| on HN ]
Re:Docker orchestration
by altcognito on Monday February 09, 2015 @12:49PM
(#9022486)
They seem fairly similar -- this wouldn't provide container separation between your pg/nginx/python layers right?
No, though to my mind the separation is not really required for this trivial of an install.
I would want the separation if I was running untrusted code, or if I was running custom software which required non-standard library dependencies. Then I'd want to split off that code, not necessarily every process.
Nginx and PostgreSQL in particular written well enough to compartmentalize themselves within their own processes, and don't typically require additional isolation.