Skip to content

TheMrPoseidon/fastapi-first-steps

Repository files navigation

FastAPI Demo

Environment Variables

Name Required Description Example
DATABASE_URL yes postgresql+psycopg://postgres:postgres@postgres:5432/postgres
ACCESS_TOKEN_SECRET yes
ACCESS_TOKEN_ALGORITHM yes HS256
ACCESS_TOKEN_EXPIRE_MINUTES yes 30

Build

podman build -t localhost/fastapi-demo:main .
podman run --detach --publish 8080:8080 --volume database.db:/code/database.db --env-file .env localhost/fastapi-demo:main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors