Skip to content

dtr34/ambuLLMce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI

1-click-deploy

This sample project demonstrates how to deploy FastAPI with Defang.

Prerequisites

  1. Download Defang CLI
  2. (optional) If you are using Defang BYOC, make sure you have properly authenticated your AWS account.

Deploying

  1. Open the terminal and type defang login
  2. Type defang compose up in the CLI.
  3. Your app will be running within a few minutes.

Development

To run your FastAPI app locally, you'll need to have Docker installed on your machine. You can then run:

docker compose -f compose.yaml -f compose.dev.yaml up

That will start your FastAPI app on http://localhost:8000 with hot reloading enabled.


Title: FastAPI

Short Description: A sample project demonstrating how to deploy FastAPI with Defang

Tags: FastAPI, OpenAPI, Python

Languages: python

ambuLLMce

ambuLLMce

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors