[uwsgi]
if-not-env = PORT
http-socket = :8080
socket = :8081
endif =

master = true
buffer-size = 65536
die-on-term = true

if-env = VIRTUAL_ENV
venv = $(VIRTUAL_ENV)
endif =

gevent = 1000

processes = %(%k * 2)

env = GEVENT_MONKEY_PATCH=1
env = PYWB_CONFIG_FILE=/app/config.yaml
wsgi = pywb.apps.wayback

