mirror of
				https://github.com/django/daphne.git
				synced 2025-10-31 07:47:25 +03:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			19 lines
		
	
	
		
			407 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			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
 |