deployment: separate web from API nodes
Currently both wsgi apps (wsgi_api and wsgi_ui) are running in the same container/processes. They should be separated so their behaviour is isolated.
An example configuration for uWSGI could be the one posted here by fenekku.