Newer
Older
gunicorn config.wsgi:application \
-b 0.0.0.0:5000 \
--name OneGeoSuite-core \
--workers ${GUNICORN_MAX_WORKERS:-2} \
--threads ${GUNICORN_MAX_THREADS:-1} \
--timeout ${GUNICORN_TIMEOUT:-1800} \
--max-requests ${GUNICORN_MAX_REQUEST:-2000} \
--worker-connections ${GUNICORN_MAX_WORKER_CONNECTIONS:-1000} \
--log-level=info \
# --bind=unix:/run/gunicorn/gunicorn_onegeosuite_core.sock \
# --pid=/run/gunicorn/gunicorn_onegeosuite_core.pid
# --user=www-data --group=www-data \
# --capture-output \
# --error-logfile /var/log/gunicorn/onegeosuite_core_errors.log \