mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
Addressed review comments
This commit is contained in:
parent
b38ce536b0
commit
951e0f3817
|
|
@ -5,8 +5,9 @@ exec granian \
|
|||
--port "8080" \
|
||||
--interface "wsgi" \
|
||||
--no-ws \
|
||||
--workers "4" \
|
||||
--backpressure "4" \
|
||||
--workers "${GRANIAN_WORKERS}" \
|
||||
--respawn-failed-workers \
|
||||
--backpressure "${GRANIAN_BACKPRESSURE}" \
|
||||
--loop "uvloop" \
|
||||
--log \
|
||||
--log-level "info" \
|
||||
|
|
@ -15,4 +16,5 @@ exec granian \
|
|||
--static-path-route "/static" \
|
||||
--static-path-mount "/opt/netbox/netbox/static/" \
|
||||
--pid-file "/tmp/granian.pid" \
|
||||
"${GRANIAN_EXTRA_ARGS[@]}" \
|
||||
"netbox.granian:application"
|
||||
|
|
|
|||
2
env/netbox.env
vendored
2
env/netbox.env
vendored
|
|
@ -15,6 +15,8 @@ EMAIL_USERNAME=netbox
|
|||
# EMAIL_USE_SSL and EMAIL_USE_TLS are mutually exclusive, i.e. they can't both be `true`!
|
||||
EMAIL_USE_SSL=false
|
||||
EMAIL_USE_TLS=false
|
||||
GRANIAN_BACKPRESSURE=4
|
||||
GRANIAN_WORKERS=4
|
||||
GRAPHQL_ENABLED=true
|
||||
MEDIA_ROOT=/opt/netbox/netbox/media
|
||||
METRICS_ENABLED=false
|
||||
|
|
|
|||
Loading…
Reference in a new issue