Initial commit
This commit is contained in:
commit
4ff9eac274
45 files changed
+2911
No files matched your search
@@ -0,0 +1,46 @@
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
SECRET_KEY = "services-dev-secret-key-change-in-production-0123456789"
|
||||
DEBUG = True
|
||||
DEVELOPER = True
|
||||
|
||||
DATABASE = {
|
||||
"NAME": "netbox",
|
||||
"USER": "netbox",
|
||||
"PASSWORD": "netbox",
|
||||
"HOST": "nb-services-postgres",
|
||||
"PORT": 5432,
|
||||
"CONN_MAX_AGE": 300,
|
||||
"ENGINE": "django.db.backends.postgresql",
|
||||
}
|
||||
|
||||
REDIS = {
|
||||
"tasks": {
|
||||
"HOST": "nb-services-redis",
|
||||
"PORT": 6379,
|
||||
"DB": 0,
|
||||
"SSL": False,
|
||||
},
|
||||
"caching": {
|
||||
"HOST": "nb-services-redis",
|
||||
"PORT": 6379,
|
||||
"DB": 1,
|
||||
"SSL": False,
|
||||
},
|
||||
}
|
||||
|
||||
PLUGINS = ["netbox_services"]
|
||||
PLUGINS_CONFIG = {
|
||||
"netbox_services": {},
|
||||
}
|
||||
|
||||
LOGGING = {
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
"handlers": {
|
||||
"console": {"class": "logging.StreamHandler"},
|
||||
},
|
||||
"loggers": {
|
||||
"django": {"handlers": ["console"], "level": "INFO"},
|
||||
"netbox_services": {"handlers": ["console"], "level": "DEBUG"},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user