BackendAdvanced

Self-Host Convex

Reactive backend with real-time sync.

View source on GitHub →

What is Convex?

Convex is a reactive backend-as-a-service with real-time data sync, serverless functions, and automatic caching. Build apps that update instantly across all clients.

1

Try it locally

Run Convex on your machine to see how it works:

terminal
# Download the docker-compose.yml
curl -O https://raw.githubusercontent.com/get-convex/convex-backend/main/self-hosted/docker-compose.yml

# Start Convex
docker compose up

Open http://localhost:6791 for the dashboard. For production, use PostgreSQL instead of the default SQLite.

Press Ctrl+C in your terminal to stop it.

2

Install the Nexlayer MCP

Install the Nexlayer MCP server for your AI coding assistant:

terminal
npx @nexlayer/mcp-install

This will configure the MCP and prompt you to authenticate with your Nexlayer account.

Don't have an account? You can create a free one during the authentication flow.

3

Deploy to Nexlayer

Convex is a multi-container application that requires additional setup.

Contact us for help deploying complex stacks like Convex.

Host Convex - Open Source Hosting Guide