Created example env, updated docker-compose, added valkey to supervisord

This commit is contained in:
2026-01-19 19:05:45 +00:00
parent 35252fa1e8
commit 43fe875cde
9 changed files with 130 additions and 62 deletions

View File

@@ -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"},
}
}