ResearchSoftwareInstitute / greendatatranslator

Green Team Data Translator Software Engineering and Development
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Convert Green Team (KS) Services from Flask-default wsgi to gunicorn #177

Open colinkcurtis opened 5 years ago

colinkcurtis commented 5 years ago

While maintaining the Docker containerized (running on Marathon/Mesos) scheme, convert the following services to gunicorn wsgi in place of the current Flask-default wsgi:

colinkcurtis commented 5 years ago

maybe also do:

Those ones should be pretty easy actually since they are just being run by a 'server.py' script...

colinkcurtis commented 5 years ago

Onto is very tricky... because it is using local resources (the .obo files), the process to properly access them when running the app via gunicorn inside a Docker container is more complex than in the previous two services' setups.

I am sure it is doable but it does not appear I will be able to finish this today. Since getting gunicorn running for BiCluster API and the CTD-api is more straight-forward, I am going to focus on those in the few hours I have remaining.