Skeleton Code commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
api:
|
||||
build: .
|
||||
command: uvicorn app:app --host 0.0.0.0 --port 8000
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
- redis
|
||||
worker:
|
||||
build: .
|
||||
command: python worker.py
|
||||
depends_on:
|
||||
- redis
|
||||
redis:
|
||||
image: redis:6
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
Reference in New Issue
Block a user