aboutsummaryrefslogtreecommitdiff
path: root/netbox/configuration.py
diff options
context:
space:
mode:
Diffstat (limited to 'netbox/configuration.py')
-rw-r--r--netbox/configuration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/netbox/configuration.py b/netbox/configuration.py
index 9abd2aa..74d7a15 100644
--- a/netbox/configuration.py
+++ b/netbox/configuration.py
@@ -8,8 +8,10 @@ DATABASE = {
8 'PORT': int(os.getenv("NETBOX_DB_PORT")), 8 'PORT': int(os.getenv("NETBOX_DB_PORT")),
9 'USER': os.getenv("NETBOX_DB_USERNAME"), 9 'USER': os.getenv("NETBOX_DB_USERNAME"),
10 'PASSWORD': os.getenv("NETBOX_DB_PASSWORD"), 10 'PASSWORD': os.getenv("NETBOX_DB_PASSWORD"),
11 'SET_ROLE': os.getenv("NETBOX_SET_ROLE"),
12 'CONN_MAX_AGE': 300, 11 'CONN_MAX_AGE': 300,
12 'OPTIONS': {
13 'role': os.getenv("NETBOX_SET_ROLE"),
14 }
13} 15}
14 16
15REDIS = { 17REDIS = {