Skip to content

Repository files navigation

backend_fastapi

General FastAPI Server

Build Docker Image

docker build -t my-app .

Initial the Environment

Create folders for docker compose:

./reset.sh

Change the database URL:

vim ./volumes/setting/.env.dev

Run the Application

Whole system

docker compose up

Database only

docker compose -f docker-compose-postgres.yml up

Stop the Application

docker compose down -v

About

General FastAPI Server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages