asgi + daphne
This commit is contained in:
parent
6f4282d96e
commit
9bf24b072b
7 changed files with 76 additions and 31 deletions
|
|
@ -1,3 +1,4 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
db:
|
||||
|
|
@ -13,6 +14,7 @@ services:
|
|||
|
||||
web:
|
||||
build: .
|
||||
command: daphne -b 0.0.0.0 -p 8000 testapi.asgi:application
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue