1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-06-13 22:48:30 +00:00
nyaa/.docker/uwsgi.config.ini
Alex Headley 18ebf134d5 feature: docker development environment (#544)
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.
2019-01-15 18:02:59 +01:00

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