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