learning_ai_common_plat/dashboards/admin-web/.env.example
saravanakumardb1 10b48a3800 feat(admin-web): add ActionTrail integration page
- New /actiontrail page with 4 tabs: Timeline, Agents, Alerts, Approvals
- Summary cards: total actions, critical/high count, pending approvals, active alerts
- Risk-level filtering on timeline, color-coded risk badges
- Server-side API proxy route (/api/actiontrail) to ActionTrail backend (port 4018)
- actiontrail-client.ts: typed API client using @bytelyst/api-client
- Sidebar nav item with Crosshair icon
- ACTIONTRAIL_SERVICE_URL added to .env.example
- Graceful fallback when ActionTrail service is unavailable
2026-03-21 13:20:15 -07:00

48 lines
1.3 KiB
Plaintext

# 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
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=