Deploy FastAPI on Deplexo

Deplexo detects FastAPI from your dependencies and configures uvicorn as the ASGI server.

How it works

  1. Push your repo to GitHub, GitLab, Bitbucket, or Codeberg.
  2. Deplexo reads requirements.txt or pyproject.toml, detects the FastAPI dependency, and sets uvicorn as the start command.
  3. Your app starts on its subdomain. Build and runtime logs stream to the dashboard.

Configuration

Add deplexo.yaml to your repo root. Adjust the app module path to match your project.

version: 1
type: web

build:
  framework: auto
  install: pip install -r requirements.txt

run:
  command: uvicorn --host 0.0.0.0 --port $PORT main:app
  port: 8000

What you get

  • Automatic subdomain (your-app.deplexo.com) provisioned on first deploy.
  • Build logs streamed live.
  • Runtime logs accessible from the Logs tab.
  • Environment variables managed in the dashboard, encrypted at rest, injected at runtime.
  • Git webhooks trigger automatic redeploys on push.

Deploy now

Cookie choices

We use essential cookies to keep the site working. Cookieless page counts run automatically. Performance measurements are optional and only run with your consent.

Cookie policy