From d2a8bc5c4c9e3642a2bb7b4890d290313f15ed85 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Wed, 27 Jan 2021 20:08:09 +0100 Subject: [PATCH] fix redis configuration --- src/paperless/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index b36ab6cf1..678ce5a21 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -160,7 +160,7 @@ CHANNEL_LAYERS = { "default": { "BACKEND": "channels_redis.core.RedisChannelLayer", "CONFIG": { - "hosts": ["redis://localhost:6379"], + "hosts": [os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")], }, }, }