💩(summary) compose the summary stack
Enhance the DX offering a docker compose with reloading.
This commit is contained in:
committed by
aleb_the_flash
parent
d7d82130d9
commit
4a53005ae3
12
src/summary/compose.yaml
Normal file
12
src/summary/compose.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: app
|
||||||
|
build: .
|
||||||
|
command: uvicorn summary.main:app --host 0.0.0.0 --port 8000 --reload
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
restart: always
|
||||||
|
env_file:
|
||||||
|
".env"
|
||||||
Reference in New Issue
Block a user