The fastapi-framework Rockcraft extension includes configuration options customised for a FastAPI application.
fastapi-framework
See also: Rockcraft Documentation > fastapi-framework^