Add fastapi to the list of compose projects
* Fastapi base Dockerfile * requirements.txt for fastapi project * Add documentation on how to run the application * Add entrypoint for fastapi application * Add docker-compose.yml for fastapi Signed-off-by: vjanz <valon.januzaj98@gmail.com>
This commit is contained in:
10
fastapi/docker-compose.yml
Normal file
10
fastapi/docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
api:
|
||||
build: .
|
||||
container_name: fastapi-application
|
||||
environment:
|
||||
PORT: 8000
|
||||
ports:
|
||||
- '8000:8000'
|
||||
restart: "no"
|
||||
|
||||
Reference in New Issue
Block a user