Skip to content
Snippets Groups Projects
Commit 64f4a15e authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

update config schema with environment

used when provisioning data sources
parent a6ba5a3b
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,9 @@ CONFIG_SCHEMA = {
"listen_port": {"type": "integer"},
"grafana_port": {"type": "integer"},
"organizations": {"type": "array", "items": {"type": "string"}},
"dashboard_directory": {"type": "string"},
"BRIAN_ENVIRONMENT": {"type": "string"}
},
"required": ["admin_username", "admin_password", "hostname", "listen_port", "grafana_port", "organizations"],
"required": ["admin_username", "admin_password", "hostname", "listen_port", "grafana_port", "organizations", "BRIAN_ENVIRONMENT"],
"additionalProperties": False
}
......@@ -26,7 +26,8 @@ def defaults():
"hostname": "localhost",
"listen_port": 3001,
"grafana_port": 3000,
"organizations": ["Main Org."]
"organizations": ["Main Org."],
"BRIAN_ENVIRONMENT": "test"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment