35 lines
920 B
Python
35 lines
920 B
Python
ALLOWED_HOSTS = ["localhost"]
|
|
SECRET_KEY = "netbox-plugin-store-compatibility-test-key-2026-08-24!"
|
|
API_TOKEN_PEPPERS = {
|
|
1: "netbox-plugin-store-compatibility-test-pepper-2026-08-24!",
|
|
}
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
"NAME": "netbox_compatibility_test",
|
|
"USER": "netbox",
|
|
"PASSWORD": "unused",
|
|
"HOST": "127.0.0.1",
|
|
"PORT": 5432,
|
|
"CONN_MAX_AGE": 0,
|
|
}
|
|
}
|
|
|
|
REDIS = {
|
|
"tasks": {"HOST": "127.0.0.1", "PORT": 6379, "DATABASE": 0},
|
|
"caching": {"HOST": "127.0.0.1", "PORT": 6379, "DATABASE": 1},
|
|
}
|
|
|
|
PLUGINS = ["netbox_plugin_store"]
|
|
PLUGINS_CONFIG = {
|
|
"netbox_plugin_store": {
|
|
"store_url": "https://store.example",
|
|
"allowed_store_urls": ["https://store.example"],
|
|
"allowed_artifact_urls": ["https://store.example"],
|
|
}
|
|
}
|
|
|
|
CENSUS_REPORTING_ENABLED = False
|
|
RELEASE_CHECK_URL = None
|