On 23/05/2016 17:04, Oliver Kraitschy wrote: > One question quickly arises, though: why don't you use one container > which contains all components (mongodb, redis, genieacs and > genieacs-gui)? How do you ensure that all required > components/containers are there and in the required version? > > Just some thoughts from a docker newbie :-)
For various reasons Docker is oriented towards one-process-per-container. Fortunately, GenieACS actually lends itself quite well to that approach, though startup ordering bears some consideration. Docker Compose (which Guillaume has used) lets you "orchestrate" a collection of Docker containers. If you were using something like Kubernetes or Mesos or something like that then they'll typically have their own mechanisms for orchestration, but this all still basically works well if you have one thing per container and tends to suck a bit if you have more than one thing per container, since now failures and monitoring apply to a blob with stuff in rather than a single process. -- Cheers, James Harrison _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
