Environment Variables
Copy .env.example to .env.local and configure the following variables:
| Variable | Description | Default |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | postgres://lacroo:lacroo_dev@localhost:5432/lacroo_dev |
TEMPORAL_ADDRESS | Temporal server address | localhost:7233 |
PORT | Go API server port | 8080 |
NEXT_PUBLIC_API_URL | Public API URL for frontend | http://localhost:8080 |
BETTER_AUTH_SECRET | Better Auth session secret | — |
ENTRA_CLIENT_ID | Microsoft Entra client ID | — |
ENTRA_CLIENT_SECRET | Microsoft Entra client secret | — |
ENTRA_TENANT_ID | Microsoft Entra tenant ID | — |
SENTRY_DSN | Sentry DSN for error tracking | — |
AXIOM_TOKEN | Axiom API token | — |
AXIOM_DATASET | Axiom dataset name | lacroo-dev |
AXIOM_TRACES_DATASET | Dataset for BFF spans only (prod lacroo-web-traces); unset = spans off | — |