Changeset View
Changeset View
Standalone View
Standalone View
docker/services/swh-search/entrypoint.sh
Show All 20 Lines | EOF | ||||
echo "ElasticSearch cluster is up" | echo "ElasticSearch cluster is up" | ||||
swh search -C $SWH_CONFIG_FILENAME initialize | swh search -C $SWH_CONFIG_FILENAME initialize | ||||
exec gunicorn --bind 0.0.0.0:5010 \ | exec gunicorn --bind 0.0.0.0:5010 \ | ||||
--reload \ | --reload \ | ||||
--threads 4 \ | --threads 4 \ | ||||
--workers 2 \ | --workers 2 \ | ||||
--log-level DEBUG \ | --log-level DEBUG \ | ||||
--timeout 3600 \ | --timeout 3600 \ | ||||
--config 'python:swh.core.api.gunicorn_config' \ | |||||
'swh.search.api.server:make_app_from_configfile()' | 'swh.search.api.server:make_app_from_configfile()' | ||||
;; | ;; | ||||
esac | esac |