first commit
This commit is contained in:
52
media/configuration.testing.py
Normal file
52
media/configuration.testing.py
Normal file
@@ -0,0 +1,52 @@
|
||||
###################################################################
|
||||
# This file serves as a base configuration for testing purposes #
|
||||
# only. It is not intended for production use. #
|
||||
###################################################################
|
||||
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
|
||||
DATABASE = {
|
||||
"NAME": "netbox",
|
||||
"USER": "netbox",
|
||||
"PASSWORD": "netbox",
|
||||
"HOST": "localhost",
|
||||
"PORT": "",
|
||||
"CONN_MAX_AGE": 300,
|
||||
}
|
||||
|
||||
PLUGINS = [
|
||||
"netbox_librenms_plugin",
|
||||
]
|
||||
|
||||
PLUGINS_CONFIG = {
|
||||
"netbox_librenms_plugin": {
|
||||
"servers": {
|
||||
"default": {
|
||||
"librenms_url": "https://librenms.example.com",
|
||||
"api_token": "test-token-for-testing",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
REDIS = {
|
||||
"tasks": {
|
||||
"HOST": "localhost",
|
||||
"PORT": 6379,
|
||||
"PASSWORD": "",
|
||||
"DATABASE": 0,
|
||||
"SSL": False,
|
||||
},
|
||||
"caching": {
|
||||
"HOST": "localhost",
|
||||
"PORT": 6379,
|
||||
"PASSWORD": "",
|
||||
"DATABASE": 1,
|
||||
"SSL": False,
|
||||
},
|
||||
}
|
||||
|
||||
SECRET_KEY = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
||||
API_TOKEN_PEPPERS = {
|
||||
1: "TEST-VALUE-DO-NOT-USE-TEST-VALUE-DO-NOT-USE-TEST-VALUE-DO-NOT-USE",
|
||||
}
|
||||
Reference in New Issue
Block a user