Hosting
Import a GitHub repo and ship to the edge from the Voltbase dashboard — DB + deploy in one product.
Git import → live URL
Overview
Open a project → Hosting → connect GitHub → import a repository → Deploy. Status streams through Queued → Installing → Building → Deploying → Ready.
Platform setup
On Voltbase Cloud, Hosting is managed for you. On a self-hosted API, set Hosting credentials and root domain (see apps/api/.env.example):
# Hosting edge credentials (see .env.example)
HOSTING_ROOT_DOMAIN=apps.voltbase.dev
# Optional dedicated GitHub OAuth (falls back to GITHUB_CLIENT_*)
HOSTING_GITHUB_CLIENT_ID=
HOSTING_GITHUB_CLIENT_SECRET=
HOSTING_GITHUB_CALLBACK_URL=https://api.example.com/api/hosting/github/callbackGitHub OAuth app callback must match HOSTING_GITHUB_CALLBACK_URL (or the default /api/hosting/github/callback).
Deploy a site
- Connect GitHub from the Hosting empty state.
- Import a repository (search + org filters).
- Confirm auto-detected framework (edit build/output if needed).
- Optionally paste environment variables before Deploy.
- Click Deploy and watch the build theater.
- Visit the preview URL when Ready.
Environment variables
System env (always injected for the detected framework):
VOLTBASE_URL=https://api…/projects/your-slug
VOLTBASE_ANON_KEY=…
VITE_VOLTBASE_URL=… # Vite
VITE_VOLTBASE_ANON_KEY=…
NEXT_PUBLIC_VOLTBASE_URL=… # Next static export
NEXT_PUBLIC_VOLTBASE_ANON_KEY=…
PUBLIC_VOLTBASE_URL=… # Astro / SvelteKit
NUXT_PUBLIC_VOLTBASE_URL=… # NuxtFrameworks
Supported on Hosting: Vite React/Vue, Astro, Nuxt generate, SvelteKit, and Next.js with output: 'export'. Full Next SSR needs Hosting Pro — see the Edge Functions plan.
Framework guides: Frameworks overview.
Custom domain / DNS
Production alias target: https://{projectSlug}.apps.voltbase.dev. Point your Hosting root domain DNS as documented for your workspace. Until custom DNS is ready, use the preview URL shown in the dashboard.
Limits
Hosting includes a soft project cap (shown in the dashboard near the limit). Upgrade to Hosting Pro for higher caps and shared Edge Functions capacity.