From 89dbaea2809c2cbbc9174ce8fc38a6022a045ec6 Mon Sep 17 00:00:00 2001 From: vjanz Date: Sun, 10 Oct 2021 22:47:14 +0200 Subject: [PATCH] Add docker-compose.yml for fastapi Signed-off-by: vjanz --- fastapi/docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 fastapi/docker-compose.yml diff --git a/fastapi/docker-compose.yml b/fastapi/docker-compose.yml new file mode 100644 index 0000000..bcd0c6e --- /dev/null +++ b/fastapi/docker-compose.yml @@ -0,0 +1,10 @@ +services: + api: + build: . + container_name: fastapi-application + environment: + PORT: 8000 + ports: + - '8000:8000' + restart: "no" +