hotpocket/services/backend/ops/deployment/gunicorn.conf.py
Tomek Wójcik b4338e2769
Some checks failed
CI / Checks (push) Failing after 13m2s
Release v1.0.0
2025-08-20 21:00:50 +02:00

16 lines
385 B
Python

# -*- coding: utf-8 -*-
from __future__ import annotations
import os
import gunicorn_worker_healthcheck
bind = '0.0.0.0:8000'
workers = int(os.environ.get('HOTPOCKET_BACKEND_GUNICORN_WORKERS', 4))
logconfig = '/srv/lib/gunicorn.logging.conf'
worker_tmp_dir = '/dev/shm'
proc_name = 'hotpocket_backend'
healthcheck_bind = '0.0.0.0:8001'
gunicorn_worker_healthcheck.start(globals())