Re: Ci automated deploy of seaside to Digital Ocean
Tim Mackinnon <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
This has proved a very interesting exercise, and Norbert - I will add docker swarm to my todo list… thanks. Sven - I think I’ve just learned about systemd when learning how to autostart supervisord (how ironic). Just for completeness to run supervisord = here’s the systemd sciprt ;) - https://gist.github.com/macta/0f30e73a6f5670f301795eacd25f6f0e <https://gist.github.com/macta/0f30e73a6f5670f301795eacd25f6f0e> Tim > On 11 May 2018, at 14:54, Esteban A. Maringolo <[email protected]> wrote: > > 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 _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside