mirror of
https://github.com/django/daphne.git
synced 2025-07-14 18:02:17 +03:00
* Do not generate new fingerprint when connection fails * Do not try to print latencies when all connections failed * Update asgi_redis and channels versions in Dockerfile
19 lines
454 B
YAML
19 lines
454 B
YAML
version: '2'
|
|
services:
|
|
redis:
|
|
image: redis:alpine
|
|
daphne:
|
|
image: channels-test
|
|
build: .
|
|
command: daphne -b 0.0.0.0 -p 80 testproject.asgi:channel_layer
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- redis
|
|
worker:
|
|
image: channels-test
|
|
build: .
|
|
command: python manage.py runworker --settings=testproject.settings.channels_redis
|
|
depends_on:
|
|
- redis
|