-
Notifications
You must be signed in to change notification settings - Fork 0
API and Gunicorn server
Pius Ladenburger edited this page Mar 8, 2018
·
2 revisions
To access our application we provide an API that is served via Gunicorn.
The Gunicorn server is automatically started when running the docker image via deployment/run-server.sh
that is created when running deployment/build-server.sh .
. The Server has a configuration file in deployment/gunicorn-config.py
.
The server is configured to log errors in ./log/errors.log
. If the environment variable METAEXP_DEV
in Docker is set to true
than also the access is logged in ./log/access.log
. This can for example be done via docker run server -e METAEXP_DEV='true'
, where server is the image name. Per default access is not logged as it should not be in production use.