Fixes: try without prometheus backends
This commit is contained in:
parent
cbdb6fe845
commit
fb61383b2d
2 changed files with 4 additions and 2 deletions
|
|
@ -4,7 +4,8 @@ from evibes.settings.base import REDIS_PASSWORD, getenv
|
|||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django_prometheus.cache.backends.redis.RedisCache",
|
||||
"BACKEND": "django_redis.cache.RedisCache",
|
||||
# "BACKEND": "django_prometheus.cache.backends.redis.RedisCache",
|
||||
"LOCATION": getenv("CELERY_BROKER_URL", f"redis://:{REDIS_PASSWORD}@redis:6379/0"),
|
||||
"OPTIONS": {
|
||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ from evibes.settings.base import * # noqa: F403
|
|||
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django_prometheus.db.backends.postgis",
|
||||
# "ENGINE": "django_prometheus.db.backends.postgis",
|
||||
"ENGINE": "django.contrib.gis.db.backends.postgis",
|
||||
"NAME": getenv("POSTGRES_DB"), # noqa: F405
|
||||
"USER": getenv("POSTGRES_USER"), # noqa: F405
|
||||
"PASSWORD": getenv("POSTGRES_PASSWORD"), # noqa: F405
|
||||
|
|
|
|||
Loading…
Reference in a new issue