-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from alsigna/nb-3.4.3
netbox 3.4 support
- Loading branch information
Showing
51 changed files
with
2,398 additions
and
1,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
server { | ||
listen 80; | ||
server_name localhost; | ||
listen 80; | ||
autoindex on; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
autoindex on; | ||
root /usr/share/nginx/html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
FROM nginx | ||
|
||
ADD default.conf /etc/nginx/conf.d/ | ||
|
||
# VOLUME ["/usr/share/nginx/html"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,49 @@ | ||
{ | ||
"listeners": { | ||
"*:8080": { | ||
"pass": "routes" | ||
} | ||
"listeners": { | ||
"0.0.0.0:8080": { | ||
"pass": "routes" | ||
}, | ||
|
||
"routes": [ | ||
{ | ||
"match": { | ||
"uri": "/static/*" | ||
}, | ||
"action": { | ||
"share": "/opt/netbox/netbox" | ||
} | ||
"[::]:8080": { | ||
"pass": "routes" | ||
} | ||
}, | ||
|
||
"routes": [ | ||
{ | ||
"match": { | ||
"uri": "/static/*" | ||
}, | ||
|
||
{ | ||
"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 | ||
} | ||
"action": { | ||
"share": "/opt/netbox/netbox${uri}" | ||
} | ||
}, | ||
|
||
"access_log": "/dev/stdout", | ||
|
||
"settings": { | ||
"http": { | ||
"max_body_size": 1073741824 | ||
|
||
{ | ||
"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", | ||
|
||
"settings": { | ||
"http": { | ||
"max_body_size": 1073741824 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
scrapli[paramiko] | ||
rq-scheduler | ||
xlsxwriter | ||
scrapli[textfsm] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.