fix redis configuration

This commit is contained in:
jonaswinkler 2021-01-27 20:08:09 +01:00
parent 89cb41d564
commit d6d749fa54

View File

@ -160,7 +160,7 @@ CHANNEL_LAYERS = {
"default": { "default": {
"BACKEND": "channels_redis.core.RedisChannelLayer", "BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": { "CONFIG": {
"hosts": ["redis://localhost:6379"], "hosts": [os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")],
}, },
}, },
} }