Skip to content

inab/disease_perception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disease PERCEPTION 1

PERsonalized Comorbidity ExPloraTION

Latest public version: DOI

Disease PERCEPTION logo

How to deploy Disease PERCEPTION 1 using docker compose

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.

API integration into Apache

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

About

Disease PERCEPTION: Personalized Comorbidity Profile Generation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •