renamed project to Bugis and switch from WSGI@uwsgi to ASGI@granian
Some checks failed
CI / Build pip package (push) Failing after 13s
CI / Build Docker image (push) Successful in 4m36s

This commit is contained in:
2024-10-20 16:21:30 +08:00
parent 49a9bad07f
commit 707c74f042
28 changed files with 770 additions and 209 deletions

18
conf/log.yml Normal file
View File

@@ -0,0 +1,18 @@
version: 1
disable_existing_loggers: True
handlers:
console:
class : logging.StreamHandler
formatter: default
level : INFO
stream : ext://sys.stdout
formatters:
brief:
format: '%(message)s'
default:
format: '%(asctime)s %(levelname)-8s %(name)-15s %(threadName)s %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
loggers:
root:
handlers: [console]
level: INFO

3
conf/pip.conf Normal file
View File

@@ -0,0 +1,3 @@
[global]
index-url = https://gitea.woggioni.net/api/packages/woggioni/pypi/simple
extra-index-url = https://pypi.org/simple

View File

@@ -1,8 +0,0 @@
[uwsgi]
#logformat = "%(proto) - %(method) %(uri) %(status) %(addr)
need-plugin=/usr/lib/uwsgi/python_plugin.so
need-plugin=/usr/lib/uwsgi/gevent3_plugin.so
socket = 0.0.0.0:1910
module = md2html.uwsgi_handler
virtualenv = /var/md2html/venv
gevent = 1000