- To setup this repo in local system, clone the repo and run
local_setup.shscript - Activate the python virtual environment
source venv/bin/python
- set VERSION as env var, for linux based
export VERSION=1
- Run the docker build command
docker build -t fastapi_sample:${VERSION} .
- This repo contains the
terraformconfig for deployingECS task definition&ECS service
- Once we've built the image, we can reference it in
backendservice defined indocker-compose.yaml - To start backend service, use
docker-compose up -d backend