add docker env for integration testing

This commit is contained in:
j3d1 2024-11-08 20:04:43 +01:00
parent 269f02c2ce
commit 0c4995db2b
6 changed files with 101 additions and 1 deletions

View file

@ -207,7 +207,7 @@ CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
'hosts': [('localhost', 6379)],
'hosts': [(os.getenv('REDIS_HOST', 'localhost'), 6379)],
},
}