Changeset View
Changeset View
Standalone View
Standalone View
docker/services/swh-objstorage/entrypoint.sh
Show All 13 Lines | else | ||||
echo Starting the swh-objstorage API server | echo Starting the swh-objstorage API server | ||||
exec gunicorn --bind 0.0.0.0:5003 \ | exec gunicorn --bind 0.0.0.0:5003 \ | ||||
--worker-class aiohttp.worker.GunicornWebWorker \ | --worker-class aiohttp.worker.GunicornWebWorker \ | ||||
--log-level DEBUG \ | --log-level DEBUG \ | ||||
--threads 4 \ | --threads 4 \ | ||||
--workers 2 \ | --workers 2 \ | ||||
--reload \ | --reload \ | ||||
--timeout 3600 \ | --timeout 3600 \ | ||||
--config 'python:swh.core.api.gunicorn_config' \ | |||||
'swh.objstorage.api.server:make_app_from_configfile()' | 'swh.objstorage.api.server:make_app_from_configfile()' | ||||
fi | fi |