Skip to content

Configuration

Configure your self-hosted instance using environment variables.

VariableDescription
PUBLIC_SUPABASE_URLYour Supabase project URL
PUBLIC_SUPABASE_ANON_KEYYour Supabase anonymous key
VariableDescriptionDefault
PUBLIC_POSTHOG_KEYPostHog analytics key-
PUBLIC_POSTHOG_HOSTPostHog API hosthttps://us.i.posthog.com
PUBLIC_GOOGLE_SITE_VERIFICATIONGoogle Search Console verification-

The app requires these tables (created by migrations):

  • rooms - Estimation rooms
  • room_participants - Users in each room

RLS policies are included in the migrations. They allow:

  • Anyone to read rooms
  • Participants to update their own data
  • Managers to update room settings

Enable realtime for these tables in Supabase:

  • rooms
  • room_participants

To customize branding for your domain, edit src/lib/branding.ts:

const BRAND_CONFIG: Record<string, BrandConfig> = {
'yourdomain.com': {
name: 'Your App Name',
shortName: 'YAN',
tagline: 'Your tagline here',
description: 'Your meta description',
keywords: ['your', 'keywords'],
},
};