What is Convex?
Convex provides a database, a place to write your server functions, and client libraries. It makes it easy to build and scale dynamic live-updating apps. The self-hosted product includes most features of the cloud product, including the dashboard and CLI. Self-hosted Convex works well with a variety of tools including Neon, Fly.io, Vercel, Netlify, RDS, SQLite, Postgres, and more.Quickstart
Get started with self-hosted Convex using Docker in minutes
Architecture
Learn about Convex’s high-level architecture and components
Self-hosting guide
Comprehensive self-hosting documentation and advanced configurations
Building from source
Instructions for building the Convex backend from source
Key features
Reactive database
Convex is built from the ground up to be reactive. Your UI automatically updates when your data changes.TypeScript everywhere
Write your server functions in pure TypeScript with strong consistency guarantees. No SQL, no ORMs—just TypeScript.Self-hostable
Deploy Convex on your own infrastructure using Docker, or use prebuilt binaries. Supports SQLite, Postgres, and MySQL.Dashboard and CLI
The self-hosted product includes a full-featured dashboard for managing your deployments and a powerful CLI for development workflows.Deployment options
Docker (recommended)
Use the official Docker images for quick deployment with docker-compose
Prebuilt binary
Run the standalone binary directly on your infrastructure
Cloud platforms
Deploy to Fly.io, Railway, AWS, or any platform supporting Docker
Build from source
Compile the Rust backend yourself for custom configurations
Community and support
- Join our Discord community for help and discussions (use the
#self-hostedchannel for self-hosting questions) - Report issues through GitHub Issues
- Read the official documentation to learn more about Convex concepts
Development of the Convex backend is led by the Convex team. We welcome bug fixes and love receiving feedback. The repository is kept in sync with internal development work within a handful of days.