PERsonalized Comorbidity ExPloraTION
Recently, this repository has received an uplift, in order to automatically generate its own containers and start the service by its own.
Once you have properly installed both docker
and docker compose
plugin following standard procedures, you only have to run it:
docker compose pull
docker compose up --no-build -d
Several setup parameters can be changed at .env file.
There is a one shot job which automatically generates the comorbidities database.
This API can be integrated into an Apache instance. The instance must have the module mod_proxy_uwsgi
installed
(package libapache2-mod-proxy-uwsgi in Ubuntu 24.04).
sudo apt-get install libapache2-mod-proxy-uwsgi
sudo a2enmod proxy_uwsgi
sudo systemctl restart apache2
-
Based on locations
<Location /> ProxyPass "uwsgi://192.168.0.186:5000/" ProxyPassReverse "uwsgi://192.168.0.186:5000/" ProxyAddHeaders On ProxyPreserveHost On </Location>
-
Based on rewrites
ProxyPass "/" "uwsgi://192.168.0.186:5000/" ProxyPassReverse "/" "uwsgi://192.168.0.186:5000/" ProxyAddHeaders On ProxyPreserveHost On