Add Node.js New Relic agent with an on/off switch via NEW_RELIC_ENABLED in .env. Uses a preload script (-r newrelic-preload.js) so the agent loads before all other modules. Configured entirely through environment variables — no newrelic.js config file needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
669 B
Plaintext
20 lines
669 B
Plaintext
POSTGRES_USER=hoafinance
|
|
POSTGRES_PASSWORD=change_me
|
|
POSTGRES_DB=hoafinance
|
|
DATABASE_URL=postgresql://hoafinance:change_me@postgres:5432/hoafinance
|
|
REDIS_URL=redis://redis:6379
|
|
JWT_SECRET=change_me_to_random_string
|
|
NODE_ENV=development
|
|
|
|
# AI Investment Advisor (OpenAI-compatible API)
|
|
AI_API_URL=https://integrate.api.nvidia.com/v1
|
|
AI_API_KEY=your_nvidia_api_key_here
|
|
AI_MODEL=qwen/qwen3.5-397b-a17b
|
|
# Set to 'true' to enable detailed AI prompt/response logging
|
|
AI_DEBUG=false
|
|
|
|
# New Relic APM — set ENABLED=true and provide your license key to activate
|
|
NEW_RELIC_ENABLED=false
|
|
NEW_RELIC_LICENSE_KEY=your_new_relic_license_key_here
|
|
NEW_RELIC_APP_NAME=HOALedgerIQ_App
|