Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

ankraio/docs-fastapi-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI + Postgres

This is a template for a FastAPI + Postgres app. It uses Ankra Platform to docker build, helm package, and deploy to a kubernetes cluster.

pre-requisites

  • docker
  • environment var: DATABASE_URL = postgresql:https://user:pass@localhost/myapp

Building the my-app image

Development image

docker build --target development -t my-app:dev .

Production image

docker build --target production -t my-app:prod .

Running the my-app image

Development image

docker run -p 8000:8000 my-app:dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages