We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6de5dcc commit 27ab25bCopy full SHA for 27ab25b
fishauctions/settings.py
@@ -46,7 +46,7 @@
46
'default': {
47
'BACKEND': 'channels_redis.core.RedisChannelLayer',
48
'CONFIG': {
49
- "hosts": [("redis://:" + os.environ.get('REDIS_PASSWORD', 'unsecure') + "@127.0.0.1:6379/0")],
+ "hosts": [("redis://:" + os.environ.get('REDIS_PASSWORD', 'unsecure') + "@" + os.environ.get('REDIS_HOST', 'redis') + ":6379/0")],
50
#"hosts": [('127.0.0.1', 6379)],
51
"capacity": 2000, # default 100
52
"expiry": 20, # default 60
0 commit comments