export DISTRI_BASE_URL="https://api.distri.dev/v1"
export BROWSR_APP_URL="https://app.distri.dev"
export DISTRI_API_KEY=
# For local development, use: DISTRI_BASE_URL="http://localhost:8081/v1"
# API key format: dak_* (get from distri cloud dashboard)
# Browsr server URLs (optional - defaults shown)
# BROWSR_API_URL=http://localhost:8082
# BROWSR_APP_URL=https://app.browsr.dev
# For local frontend development:
# BROWSR_APP_URL=http://localhost:5183
# ===== Authentication =====
# PostgreSQL database URL (required for auth)
DATABASE_URL=postgres://user:password@localhost:5432/browsr
# JWT secret for auth tokens (change in production!)
JWT_SECRET=browsr-jwt-secret-change-in-prod
# API key pepper for hashing (change in production!)
API_KEY_PEPPER=browsr-api-key-pepper-change-in-prod
# Admin emails (comma-separated, these users get is_admin=true)
ADMIN_EMAILS=admin@example.com
# Mailgun for OTP emails (optional - if not set, OTPs are logged to console)
MAILGUN_DOMAIN=mg.yourdomain.com
MAILGUN_API_KEY=key-xxxxxxxxxxxxxxxxxxxxx
MAILGUN_FROM=Browsr <noreply@yourdomain.com>
# Run database migrations on startup (default: true)
# RUN_MIGRATIONS=true
DISTRI_API_KEY=dak_xxxx