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")], }, }, }