This is a template for a FastAPI + Postgres app. It uses Ankra Platform to docker build, helm package, and deploy to a kubernetes cluster.
- docker
- environment var: DATABASE_URL = postgresql:https://user:pass@localhost/myapp
docker build --target development -t my-app:dev .
docker build --target production -t my-app:prod .
docker run -p 8000:8000 my-app:dev