analytics/infrastructure/.env.prod.example
Claude Code 6d191a2bfc chore(infrastructure): 🔧 Update environment variables and Docker Compose configs for dev/prod environments
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-04 15:14:01 -07:00

27 lines
1.1 KiB
Text

# =============================================================================
# @analytics Production Environment
# =============================================================================
# Copy to .env.prod and fill in real values.
# NEVER commit .env.prod to version control.
#
# DNS: analytics.db.transquinnftw.com → vps-0 IP:25434 (TimescaleDB)
# =============================================================================
# TimescaleDB
POSTGRES_USER=lilith
POSTGRES_PASSWORD=CHANGE_ME_STRONG_PASSWORD
POSTGRES_DB=lilith_analytics
# Redis
REDIS_PASSWORD=CHANGE_ME_STRONG_PASSWORD
# Collector CORS (comma-separated allowed origins)
CORS_ORIGINS=https://transquinnftw.com,https://data.transquinnftw.com
# API authentication keys (comma-separated)
# Used by platform-analytics backend-api to authenticate with this API
API_KEYS=CHANGE_ME_GENERATE_WITH_openssl_rand_hex_32
# Collector write key — embed in analytics-client config on the frontend
# Anyone posting to /track/* must include X-Write-Key: <this value>
COLLECTOR_WRITE_KEY=CHANGE_ME_GENERATE_WITH_openssl_rand_hex_32