Created example env, updated docker-compose, added valkey to supervisord
This commit is contained in:
@@ -78,10 +78,12 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
REDIS_URL = os.getenv("KEYWARDEN_REDIS_URL", "redis://127.0.0.1:6379/1")
|
||||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django_redis.cache.RedisCache",
|
||||
"LOCATION": "redis://keywarden-valkey:6379/1",
|
||||
"LOCATION": REDIS_URL,
|
||||
"OPTIONS": {"CLIENT_CLASS": "django_redis.client.DefaultClient"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user