Deployment
Deploy on Vercel
The hosted app runs on Vercel, so it is the best-trodden way to run your own instance. You still need your own Supabase project with the migrations applied; see Self-hosting step 1.
Steps
- Import the repository into Vercel: Add New → Project, then your fork or
copy of
Markbase-Team/Markbase. - Set Root Directory to
apps/web. Leave the framework and build command as Vercel detects them. - Add the environment variables:
NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY,SUPABASE_SECRET_KEY,SECRETS_ENCRYPTION_KEY, andAPP_URLset to the project's address. - Deploy, then put that address into the Supabase project's Site URL and Redirect URLs.
Differences from Docker
- The two
NEXT_PUBLIC_values are compiled in at build time, so changing them means a redeploy, not a restart. - Updating is a push: bring the repository's
maininto your fork and Vercel builds it. Apply new migrations before you push whensupabase/migrationschanged.
Got questions?
Email hello@markbase.so.