# ============================================================ # OnlyPets — Environment Variables # Copy this file to .env.local and fill in your values. # NEVER commit .env.local to version control. # ============================================================ # ── Supabase (PostgreSQL) ──────────────────────────────────── # Supabase Dashboard -> Project Settings -> Database -> Connection string # Use the POOLED connection string for DATABASE_URL (port 6543, ?pgbouncer=true) # Use the DIRECT connection string for DIRECT_URL (port 5432) DATABASE_URL="postgresql://postgres.xxxxxxxxxxxx:password@aws-0-eu-central-1.pooler.supabase.com:6543/postgres?pgbouncer=true" DIRECT_URL="postgresql://postgres.xxxxxxxxxxxx:password@aws-0-eu-central-1.pooler.supabase.com:5432/postgres" # ── Clerk (Authentication) ─────────────────────────────────── # Clerk Dashboard -> API Keys NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_test_xxxxxxxxxxxxxxxxxxxx" CLERK_SECRET_KEY="sk_test_xxxxxxxxxxxxxxxxxxxx" # ── Supabase Storage (Media) ───────────────────────────────── # Supabase Dashboard -> Project Settings -> API -> Project URL NEXT_PUBLIC_SUPABASE_URL="https://xxxxxxxxxxxxxxxxxxxx.supabase.co" # Supabase Dashboard -> Project Settings -> API -> service_role (secret!) SUPABASE_SERVICE_ROLE_KEY="eyJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"