mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-04 11:08:21 +00:00
seems the procfile may be wrong
This commit is contained in:
parent
20c11043e2
commit
63c4c93c42
Binary file not shown.
@ -74,18 +74,19 @@ WSGI_APPLICATION = 'ChannelsDrawShareSite.wsgi.application'
|
|||||||
ASGI_APPLICATION = 'ChannelsDrawShareSite.routing.application'
|
ASGI_APPLICATION = 'ChannelsDrawShareSite.routing.application'
|
||||||
|
|
||||||
CHANNEL_LAYERS = {
|
CHANNEL_LAYERS = {
|
||||||
# 'default': {
|
|
||||||
# 'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
|
||||||
# 'CONFIG': {
|
|
||||||
# "hosts": [('127.0.0.1', 6379)],
|
|
||||||
# },
|
|
||||||
# },
|
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'asgi_redis.core.RedisChannelLayer',
|
'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
||||||
'CONFIG': {
|
'CONFIG': {
|
||||||
|
#"hosts": [('127.0.0.1', 6379)],
|
||||||
"hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')],
|
"hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')],
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
|
#'default': {
|
||||||
|
# 'BACKEND': 'asgi_redis.core.RedisChannelLayer',
|
||||||
|
# 'CONFIG': {
|
||||||
|
# "hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')],
|
||||||
|
# }
|
||||||
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
CACHES = {
|
CACHES = {
|
||||||
|
|||||||
2
Procfile
2
Procfile
@ -1,2 +1,2 @@
|
|||||||
web: daphne ChannelsDrawShareSite.asgi:application --port $PORT --bind 0.0.0.0 -v2
|
web: daphne ChannelsDrawShareSite.asgi:application --port $PORT --bind 0.0.0.0 -v2
|
||||||
worker: python manage.py
|
worker: python manage.py runserver channels
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user