Make project work with Podman

This commit is contained in:
2024-12-28 13:20:55 +00:00
parent 6d9c78d2e1
commit 6ccf84be26
6 changed files with 144 additions and 53 deletions

View File

@@ -197,10 +197,11 @@ CACHES = {
"BACKEND": "django_redis.cache.RedisCache",
# "LOCATION": "unix:///var/run/socks/redis.sock",
"LOCATION": f"redis://{REDIS_HOST}:{REDIS_PORT}",
"LOCATION": "unix:///var/run/redis.sock",
"OPTIONS": {
"db": REDIS_DB,
# "parser_class": "django_redis.cache.RedisCache",
"PASSWORD": REDIS_PASSWORD,
# "PASSWORD": REDIS_PASSWORD,
"pool_class": "redis.BlockingConnectionPool",
},
}