Changeset View
Changeset View
Standalone View
Standalone View
docker/services/swh-graphql/entrypoint.sh
Show All 10 Lines | "shell") | ||||
;; | ;; | ||||
*) | *) | ||||
echo Starting the swh-graphql API server | echo Starting the swh-graphql API server | ||||
exec gunicorn --bind 0.0.0.0:5013 \ | exec gunicorn --bind 0.0.0.0:5013 \ | ||||
--reload \ | --reload \ | ||||
--threads 4 \ | --threads 4 \ | ||||
--workers 2 \ | --workers 2 \ | ||||
--worker-class uvicorn.workers.UvicornWorker \ | |||||
--log-level DEBUG \ | --log-level DEBUG \ | ||||
--timeout 3600 \ | --timeout 3600 \ | ||||
--config 'python:swh.core.api.gunicorn_config' \ | --config 'python:swh.core.api.gunicorn_config' \ | ||||
'swh.graphql.server:make_app_from_configfile()' | 'swh.graphql.server:make_app_from_configfile()' | ||||
;; | ;; | ||||
esac | esac |