daphne/testproject/docker-compose.yml
Steve Steiner 405e5b3b26 Update channels test readme (#212)
* Add documentation on how to build and run benchmark.

* Update README.rst with instructions for running against local server

* Add requirements.txt referenced in new instructions

* Updated port to 80 for Docker test as daphne serves on that port
2016-06-17 17:18:09 +01:00

19 lines
407 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
depends_on:
- redis