forked from DGNum/gestioCOF
Merge branch 'Elarnon/ci' into 'master'
Lance les tests de gestioCOF sur gitlab-ci See merge request !116
This commit is contained in:
commit
297164aae0
3 changed files with 43 additions and 1 deletions
|
@ -99,6 +99,7 @@ DATABASES = {
|
|||
'NAME': os.environ['DBNAME'],
|
||||
'USER': os.environ['DBUSER'],
|
||||
'PASSWORD': os.environ['DBPASSWD'],
|
||||
'HOST': os.environ.get('DBHOST', 'localhost'),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -176,7 +177,7 @@ CHANNEL_LAYERS = {
|
|||
"default": {
|
||||
"BACKEND": "asgi_redis.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [("localhost", 6379)],
|
||||
"hosts": [(os.environ.get("REDIS_HOST", "localhost"), 6379)],
|
||||
},
|
||||
"ROUTING": "cof.routing.channel_routing",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue