Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 950 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 950 Bytes

TNA Python FastAPI Application

Quickstart

# Build and start the container
docker compose up -d

Docs

http://localhost:83/docs

Run tests

docker compose exec dev poetry run python -m pytest

Format and lint code

docker compose exec dev format

Environment variables

In addition to the base Docker image variables, this application has support for:

Variable Purpose Default
CONFIG The configuration to use config.Production
BASE_URI The base URI for the API /api/v1
FORCE_HTTPS Redirect requests to HTTPS as part of the CSP none