kuhumcst / glossematics

The life of Louis Hjelmslev.
https://glossematics.dk
4 stars 1 forks source link

Preserve login state between container restarts #64

Open simongray opened 2 years ago

simongray commented 2 years ago

One possible way to do this is to keep a Docker volume which contains the session store in a serialised form. Perhaps the sessions store could be converted into a duratom.

This would eliminate the annoyance of being logged out whenever there is an update to the system. Presumably the TTL nature of the session store would either not be affected or it could be rewritten in such a way that it isn't affected.