docker-pdns/pdns-admin-uwsgi-ngoduykhanh/pdns-admin.ini
Peter Schiffer fafae795e4
Rework admin uwsgi image to run in single app mode
Before, the uwsgi was running in Emperor mode, supporting to run multiple
different apps. However, after the upgrade to Fedora 31, Emperor mode started
to take very long time to start, causing other issues. Since we are running
only one app anyway - this commit simplifies the uwsgi config by switching the
run mode only to single app.
2020-01-03 17:54:33 +01:00

26 lines
380 B
INI

[uwsgi]
strict = true
master = true
die-on-term = true
need-app = true
plugins = python3
uid = uwsgi
gid = uwsgi
chdir = /opt/powerdns-admin
pythonpath = /opt/powerdns-admin
mount = /=run.py
manage-script-name = true
callable = app
vacuum = true
harakiri = 20
buffer-size = 32768
post-buffering = 8192
socket = 0.0.0.0:9494
pidfile = /run/uwsgi/%n.pid
enable-threads = true