- Add userId guard in trace upsert to prevent cross-user overwrites - Move AUTH_SECRET, STRIPE_WEBHOOK_SECRET, POSTGRES_PASSWORD to .env - docker-compose.yml now references env vars instead of hardcoded secrets - Add .env.example with placeholder values for documentation
17 lines
491 B
Plaintext
17 lines
491 B
Plaintext
# Authentication
|
|
AUTH_SECRET= # Generate with: openssl rand -base64 32
|
|
|
|
# Stripe
|
|
STRIPE_SECRET_KEY= # sk_live_... or sk_test_...
|
|
STRIPE_WEBHOOK_SECRET= # whsec_...
|
|
STRIPE_STARTER_PRICE_ID=price_1SzJUlR8i0An4Wz7gZeYgzBY
|
|
STRIPE_PRO_PRICE_ID=price_1SzJVWR8i0An4Wz755hBrxzn
|
|
|
|
# Database (optional — defaults to agentlens/agentlens/agentlens)
|
|
POSTGRES_USER=agentlens
|
|
POSTGRES_PASSWORD=
|
|
POSTGRES_DB=agentlens
|
|
|
|
# Email (optional — email features disabled if not set)
|
|
EMAIL_PASSWORD=
|