From fb2b36091867cfd14bf267dbc0f70a673b920b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20Ka=CC=88ser?= Date: Sun, 27 Sep 2015 15:10:00 +0200 Subject: [PATCH] additional NOTES --- NOTES.txt | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/NOTES.txt b/NOTES.txt index 37ebd88..9ab6e58 100644 --- a/NOTES.txt +++ b/NOTES.txt @@ -1,15 +1,21 @@ -BUGS +GENERAL + [ ] split admin and web django applications into dedicated repositories -FEATURES - - [ ] (optional) A logging system to log raised exceptions or debug information +CORE + [ ] create core containers with "--restart=always" so they are auto started on restart (https://docs.docker.com/reference/run/#restart-policies-restart) + [ ] define the Open vSwitch bridge as a regular interface (rather than through ovs-vsctl tool) + [ ] create Dockerfiles for the core containers and push them to the registry + [ ] use a process supervisor like monit/supervisord to ensure the ipynbsrv_hostapi process is always running + [ ] (optional) put the ipynbsrv_hostapi behind a proxy (gevent, ...). flask debug server should not be used + [ ] (optional) run django application in app container as non-root user + [ ] (optional) enable container resource limits so a container cannot eat all i.e. memory (https://docs.docker.com/reference/run/#runtime-constraints-on-resources) -IMPROVEMENTS - - [ ] Model validation via the in 1.8 newly introduced mechanisms - (https://docs.djangoproject.com/en/1.8/ref/models/instances/#validating-objects) +IMPROVEMENTS / TODOS - -REFACTORING + [ ] define and implement an error handling concept. at least log all errors + [ ] find another way to identify users/check permissions in the nginx reverse proxy (to minimize load on the django app) + [ ] django app model validation via the in 1.8 newly introduced mechanisms (https://docs.djangoproject.com/en/1.8/ref/models/instances/#validating-objects)