File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ def read_secret(secret_name):
161161# this setting is derived from the installed location.
162162REPORTS_ROOT = os .environ .get ('REPORTS_ROOT' , '/etc/netbox/reports' )
163163
164+ # The file path where custom scripts will be stored. A trailing slash is not needed. Note that the default value of
165+ # this setting is derived from the installed location.
166+ SCRIPTS_ROOT = os .environ .get ('SCRIPTS_ROOT' , '/etc/netbox/scripts' )
167+
164168# Time zone (default: UTC)
165169TIME_ZONE = os .environ .get ('TIME_ZONE' , 'UTC' )
166170
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
1212 - ./initializers:/opt/netbox/initializers:z,ro
1313 - ./configuration:/etc/netbox/config:z,ro
1414 - ./reports:/etc/netbox/reports:z,ro
15+ - ./scripts:/etc/netbox/scripts:z,ro
1516 - netbox-nginx-config:/etc/netbox-nginx:z
1617 - netbox-static-files:/opt/netbox/netbox/static:z
1718 - netbox-media-files:/opt/netbox/netbox/media:z
You can’t perform that action at this time.
0 commit comments