Launch
FastAPI with
Launch a new FastAPI project and you will instantly have access to a development environment. No sign-up required.
Launch a new FastAPI project and you will instantly have access to a development environment. No sign-up required.
Diploi
Choose some optional add-ons to launch with FastAPI
Instant launch. No sign-up required.
Link to the full guide http://diploi.com/blog/hosting_fastapi_apps
During development, the container installs Node.js and nodemon
to enable automatic reloads when files change. The development server is started with:
nodemon --delay 1 --watch pyproject.toml --watch ".venv/lib/*" --watch ".venv/lib64/*" --exec "uv run --isolated uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload --reload-dir src --reload-exclude \".venv/**\""
This will:
Builds a production-ready image. During the build, dependencies are installed with uv sync
. When the container starts, it runs:
fastapi run src/main.py --proxy-headers --port 8000
This uses the FastAPI CLI to serve your application on port 8000.
Diploi is the single SaaS service for managing, developing and hosting your full application.