# Platform Analytics API — Production Environment # Deploy to: /opt/platform-analytics/backend-api/.env on vps-0 # Service: platform-analytics-api.service (port 4110) NODE_ENV=production PORT=4110 # Analytics TimescaleDB # Provided by @analytics docker stack (analytics.db.transquinnftw.com:25434) DB_USER=lilith DB_PASSWORD=CHANGE_ME DB_NAME=lilith_analytics DATABASE_HOST=127.0.0.1 DATABASE_PORT=25434 # Redis (from @analytics docker stack) REDIS_HOST=127.0.0.1 REDIS_PORT=6379 REDIS_PASSWORD=CHANGE_ME # Service registry — resolves deployments/@domains/*.yaml port tables # Must point to the checked-out repo on vps-0 LILITH_PROJECT_ROOT=/opt/lilith-platform # JWT / session secrets (shared with SSO) JWT_SECRET=CHANGE_ME_openssl_rand_base64_64 JWT_REFRESH_SECRET=CHANGE_ME_openssl_rand_base64_64 # VPN access to apricot (ML services, main Redis, etc.) APRICOT_VPN_IP=10.9.0.1