mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 23:10:00 +00:00
18ebf134d5
Add docker support It's self-contained so should not interfere with anything else and can easily be thrown out if nobody wants it anymore.
35 lines
540 B
INI
35 lines
540 B
INI
[uwsgi]
|
|
# socket = [addr:port]
|
|
socket = 0.0.0.0:5000
|
|
#chmod-socket = 664
|
|
|
|
die-on-term = true
|
|
|
|
# logging
|
|
#disable-logging = True
|
|
#logger = file:uwsgi.log
|
|
|
|
# Base application directory
|
|
chdir = /nyaa
|
|
|
|
# WSGI module and callable
|
|
# module = [wsgi_module_name]:[application_callable_name]
|
|
module = WSGI:app
|
|
|
|
# master = [master process (true of false)]
|
|
master = true
|
|
|
|
# debugging
|
|
catch-exceptions = true
|
|
|
|
# performance
|
|
processes = 4
|
|
buffer-size = 8192
|
|
|
|
loop = gevent
|
|
socket-timeout = 10
|
|
gevent = 1000
|
|
gevent-monkey-patch = true
|
|
|
|
py-autoreload = 2
|