mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-07 16:44:02 +01:00
44 lines
661 B
JSON
44 lines
661 B
JSON
{
|
|
"listeners": {
|
|
"0.0.0.0:8080": {
|
|
"pass": "routes"
|
|
},
|
|
"[::]:8080": {
|
|
"pass": "routes"
|
|
}
|
|
},
|
|
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"uri": "/static/*"
|
|
},
|
|
"action": {
|
|
"share": "/opt/netbox/netbox${uri}"
|
|
}
|
|
},
|
|
|
|
{
|
|
"action": {
|
|
"pass": "applications/netbox"
|
|
}
|
|
}
|
|
],
|
|
|
|
"applications": {
|
|
"netbox": {
|
|
"type": "python 3",
|
|
"path": "/opt/netbox/netbox/",
|
|
"module": "netbox.wsgi",
|
|
"home": "/opt/netbox/venv",
|
|
"processes": {
|
|
"max": 4,
|
|
"spare": 1,
|
|
"idle_timeout": 120
|
|
}
|
|
}
|
|
},
|
|
|
|
"access_log": "/dev/stdout"
|
|
}
|