Andrea Ida Malkah Klaura (252ee638) at 14 Aug 19:09
... and 3 more commits
Andrea Ida Malkah Klaura (a4dca2e1) at 13 Aug 16:19
make http schema configurable through mode
Andrea Ida Malkah Klaura (49102bc2) at 19 Jul 10:59
WIP: add webserver init with letsencrypt and adapt
Andrea Ida Malkah Klaura (6c523dfb) at 22 May 13:17
fix typo in tank config setup; add dashboard initialisation
... and 4 more commits
I've created a (temporary) aura-web repo: https://gitlab.servus.at/aura/aura-web
This is so I can get a setup running in a clean environment, before integrating it into the meta repo.
So far still WIP. But could be done in May. Locally a proof of concept is already running. Will test it on aura-test as soon as I have integrated let's encrypt into the nginx container.
Andrea Ida Malkah Klaura (dcd7ce28) at 13 May 20:35
add .gitignore
Andrea Ida Malkah Klaura (95330209) at 13 May 20:27
add small build script for docker setups
Andrea Ida Malkah Klaura (4d897ed7) at 13 May 15:36
fix env naming for ALLOWED_HOSTS and hint regarding env lists
Yes, this will certainly be documented for the aura web/full deployment. But it meanwhile already is in the dashboard and steering README. In the latter also with the concrete management commands how to create the client. So I guess we're fine here for now.
done with !13 (merged)
To be discussed - @equinox issued thoughts Dashboard might actually be part of the "Aura Web" Image (see https://gitlab.servus.at/aura/meta/-/issues/7)
Is done with !6 (closed)
Adds a basic docker setup for the dashboard to either create a quick containerised dev server or to use a build container to build the dist directory. Does not include a separate prod web server hosting the build dir, as this will be used in the aura wide deployment.
In the steering docker prod image we currently use gunicorn, as this is probably more familiar to many Django devs and there is currently no indication that performance requirements will be that harsh that uwsgi is necessary. Therefore closing this issue.
After switching to uwsgi to host the system, which greatly improves performance, there is a weird kind of caching. It seems as all the calls to today() are only evaluated when uwsgi is (re)started/reloaded and from that time one will be handled as a static values. This leads to increasingly outdated views. Following this I already tried to fix this issue in 25b6bfba but this didn't solve the problem.
The workaround for now is to reload uwsgi every 10 minutes but this is far from being an acceptable solution.