This commit is contained in:
2025-12-02 17:23:13 +05:00
parent 09d66613ea
commit 4af4b0c02f

View File

@@ -5,8 +5,12 @@ CHANNEL_LAYERS = {
"default": { "default": {
"BACKEND": "channels_redis.core.RedisChannelLayer", "BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": { "CONFIG": {
"hosts": [(env.str("REDIS_HOST", "redis"), env.int("REDIS_PORT", 6379))], "hosts": [
(
env.str("REDIS_HOST", "redis"),
env.int("REDIS_PORT_6379_TCP_PORT", 6379)
)
],
}, },
}, },
} }