# Admin Dashboard — Environment Variables
# Copy this file to .env.local and fill in the values.
#
# This dashboard is product-agnostic. Set PRODUCT_ID to deploy for any ByteLyst product.

# ── Product Identity ──
PRODUCT_ID=lysnrai
NEXT_PUBLIC_PRODUCT_ID=lysnrai

# ── Cosmos DB (via @bytelyst/cosmos package) ──
COSMOS_ENDPOINT=https://your-account.documents.azure.com:443/
COSMOS_KEY=your-cosmos-key
COSMOS_DATABASE=lysnrai

# ── Auth ──
JWT_SECRET=your-jwt-secret

# ── SmartAuth: OAuth (optional — enables social login buttons) ──
NEXT_PUBLIC_GOOGLE_CLIENT_ID=

# ── Microservice URLs (consolidated platform-service) ──
PLATFORM_SERVICE_URL=http://localhost:4003
ACTIONTRAIL_SERVICE_URL=http://localhost:4018
COWORK_SERVICE_URL=http://localhost:4009
BILLING_INTERNAL_KEY=

# ── Stripe ──
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
STRIPE_PRICE_PRO=price_...
STRIPE_PRICE_ENTERPRISE=price_...

# ── Azure Key Vault (optional — resolves secrets at startup) ──
AZURE_KEYVAULT_URL=

# ── Seed (development only) ──
SEED_SECRET=your-seed-secret

# ── Optional: AI Chat ──
PERPLEXITY_API_KEY=

# ── Optional: Analytics ──
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=https://app.posthog.com

# ── Optional: Docs path ──
# DOCS_DIR=
