Release v1.0.0
Some checks failed
CI / Checks (push) Failing after 13m2s

This commit is contained in:
2025-08-20 21:00:50 +02:00
commit b4338e2769
401 changed files with 23576 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# -*- 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())

View File

@@ -0,0 +1,48 @@
[loggers]
keys=root,gunicorn.error,gunicorn.access
[handlers]
keys=console,error,access
[formatters]
keys=generic,access
[logger_root]
level=INFO
handlers=console
[logger_gunicorn.error]
level=INFO
handlers=error
propagate=0
qualname=gunicorn.error
[logger_gunicorn.access]
level=INFO
handlers=access
propagate=0
qualname=gunicorn.access
[handler_console]
class=StreamHandler
formatter=generic
args=(sys.stdout,)
[handler_error]
class=StreamHandler
formatter=generic
args=(sys.stdout,)
[handler_access]
class=StreamHandler
formatter=access
args=(sys.stdout,)
[formatter_generic]
format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s
datefmt=%Y-%m-%d %H:%M:%S
class=logging.Formatter
[formatter_access]
format=%(message)s
class=logging.Formatter