mirror of
https://github.com/linuxserver/docker-netbox.git
synced 2026-01-15 01:11:50 +08:00
15 lines
463 B
INI
15 lines
463 B
INI
[uwsgi]
|
|
http-socket = [::]:8000
|
|
buffer-size = 32768
|
|
enable-threads
|
|
plugin = python3
|
|
virtualenv = /lsiopy
|
|
module = netbox.wsgi:application
|
|
static-map = /static=static
|
|
static-gzip-dir = static/CACHE
|
|
static-index = index.html
|
|
hook-pre-app = exec:python3 ./manage.py collectstatic --noinput
|
|
hook-pre-app = exec:python3 ./manage.py remove_stale_contenttypes --no-input
|
|
hook-pre-app = exec:python3 ./manage.py clearsessions
|
|
attach-daemon = python3 ./manage.py rqworker
|