Re: Ci automated deploy of seaside to Digital Ocean
"Esteban A. Maringolo" <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
On 11/05/2018 10:39, Norbert Hartl wrote: > All of this can be done. It just depends on the learning curve you want > to take. I successfully escaped the unix/linux hell (used daemontools, > monti, systemd before) for my services and entered docker hell :P > I use docker swarm and that has everything you describe above. I can > deploy any number of images across all my machines with ease. There is a > zero-downtime option so there is no service interruption. But the amount > of time I had to put into there was massive. So while I would encourage > the usage of docker I’m not sure it is for everyone. > The medium heavy approach for you should be: > > 1. nginx as frontend server. This proxies all requests to a docker > service traefik (https://traefik.io/) > 2. traefik listens on docker whenever a container is started and adds it > to the load balancing routine. > 3. You deploy any number of your application and they will automatically > load balanced. Why nginx+traefik? Isn't the latter supposed to provide reverse proxying as well? A blog post/tutorial about how this was made would save many from investing massive time into it. :) I'm interested in how you implement the zero-downtime. Regards! -- Esteban A. Maringolo _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside