Self hosted FLOSS fitness/workout, nutrition and weight tracker
Increase the number of workers that gunicorn will spawn
Roland Geider96743f834e2a
diff --git a/extras/docker/production/entrypoint.sh b/extras/docker/production/entrypoint.shindex d40015fc1..10fa03e29 100644--- a/extras/docker/production/entrypoint.sh+++ b/extras/docker/production/entrypoint.sh@@ -92,7 +92,8 @@ python3 manage.py set-site-urlif [[ "$WGER_USE_GUNICORN" == "True" ]];thenecho "Using gunicorn..."- gunicorn wger.wsgi:application --reload --bind 0.0.0.0:8000+ WORKERS=${GUNICORN_WORKERS:-4}+ gunicorn wger.wsgi:application --workers $WORKERS --threads 2 --preload --bind 0.0.0.0:8000elseecho "Using django's development server..."python3 manage.py runserver 0.0.0.0:8000