From 4a53005ae3d8ab037dca0e3314583f86a7ed62d4 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 22 Nov 2024 09:55:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9(summary)=20compose=20the=20summary?= =?UTF-8?q?=20stack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enhance the DX offering a docker compose with reloading. --- src/summary/compose.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/summary/compose.yaml diff --git a/src/summary/compose.yaml b/src/summary/compose.yaml new file mode 100644 index 00000000..99470401 --- /dev/null +++ b/src/summary/compose.yaml @@ -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"