💩(summary) compose the summary stack

Enhance the DX offering a docker compose with reloading.
This commit is contained in:
lebaudantoine
2024-11-22 09:55:18 +01:00
committed by aleb_the_flash
parent d7d82130d9
commit 4a53005ae3

12
src/summary/compose.yaml Normal file
View 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"