Deploy
Deploy Python,
on a server run for you.Ship a Django, Flask, or FastAPI app straight from GitHub. SelfHost auto-detects the build, runs it on a dedicated server, and puts a one-click Postgres right beside it, no server to provision, no DevOps.
What you get
Your Python app, deployed.
Database included, run for you.
SelfHost detects your Python project from GitHub with Nixpacks (requirements.txt or pyproject.toml), installs dependencies, and runs your app behind a production server. Add a managed Postgres to the same project in one click, point a domain, and you are live. No host to patch, no reverse proxy to configure.
Deploy in 5 steps
From zero to live.
No server to set up.
From GitHub to a live URL in five steps. SelfHost detects the build; you set the start command and env.
Create a Project
Give it a name and SelfHost provisions a dedicated server for you in a couple of minutes.
Add your GitHub repo
Connect the GitHub App or paste a public repo URL, pick a branch, and SelfHost auto-detects Python via Nixpacks (or use your own Dockerfile).
Set the start command and env
Point SelfHost at your server command (gunicorn for Django or Flask, uvicorn for FastAPI), set the port, and paste a .env for your secrets.
Add a database
Add a one-click PostgreSQL to the same project and wire its connection string into your app as DATABASE_URL.
Point your domain and deploy
Add a custom domain (SSL handled automatically) and deploy. Every push redeploys, with live logs and one-click rollback.
Environment variables
Configure it
in minutes.
Set your runtime config per service, paste a .env to import in bulk:
Paste a .env to import in bulk, or set keys one by one. Values are wired into every build and deploy.
Key variables
What you get
Python, the easy way.
On a server you control.
Any Python web framework. SelfHost auto-detects the build from requirements.txt or pyproject.toml.
Add managed PostgreSQL, Redis, MySQL, or MongoDB to the same project, right beside your app.
Every push ships automatically, with PR preview environments, streaming logs, and one-click rollback.
Dedicated compute with live CPU, memory, and connection metrics, not an opaque platform.
Add a domain, verify DNS, and HTTPS is provisioned and renewed for you.
Billed by the hour against prepaid credits, from ~$0.02/hr. Pause and pay nothing.
Need production-grade data?
A one-click in-project Postgres is perfect for most apps. If you need a dedicated, production database with point-in-time recovery, pooling, and Multi-AZ, use managed PostgreSQL instead and connect it to your app.