Re: Seaside and Session dependant Docker containers

Mariano Martinez Peck <[email protected]> Mon, 9 Dec 2019 15:43:18 -0300
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <CAA+-=mWv-rQk1z7QdWb_-QCb=-h7_iLfBuaHtEjqDQQZTgYw3w@mail.gmail.com>
On Mon, Dec 9, 2019 at 11:12 AM Esteban Maringolo <[email protected]>
wrote:

> Hello all,
>
> Did anybody played/experimented with having Docker containers where we
> can spawn a new container for each new session, or get a "sticky"
> container for the same session the same way we can do it with nginx or
> other reverse proxies?
>
> Not an actual need, but I'm about to deploy a basic Seaside app and
> was thinking of using something like Swarm instead of nginx and
> supervisord.
>
>
I did. You can see this docker-compose.xml:
https://github.com/vasmalltalk/docker-examples/blob/master/source/SeasideTrafficLights/Raspberry/docker-compose.yml
where
I use Traefik webserver with sticky Seaside sessions. The key line is:

traefik.backend.loadbalancer.stickiness: "true"

Best,

-- 
Mariano Martinez Peck
Email: [email protected]
Twitter: @MartinezPeck
LinkedIn: www.linkedin.com/in/mariano-martinez-peck
<https://www.linkedin.com/in/mariano-mart%C3%ADnez-peck/>
Blog: https://marianopeck.wordpress.com/

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside