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):
161
161
# this setting is derived from the installed location.
162
162
REPORTS_ROOT = os .environ .get ('REPORTS_ROOT' , '/etc/netbox/reports' )
163
163
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
+
164
168
# Time zone (default: UTC)
165
169
TIME_ZONE = os .environ .get ('TIME_ZONE' , 'UTC' )
166
170
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
12
12
- ./initializers:/opt/netbox/initializers:z,ro
13
13
- ./configuration:/etc/netbox/config:z,ro
14
14
- ./reports:/etc/netbox/reports:z,ro
15
+ - ./scripts:/etc/netbox/scripts:z,ro
15
16
- netbox-nginx-config:/etc/netbox-nginx:z
16
17
- netbox-static-files:/opt/netbox/netbox/static:z
17
18
- netbox-media-files:/opt/netbox/netbox/media:z
You can’t perform that action at this time.
0 commit comments