# Production environment template (for separate production server deployment) # Copy to .env.prod on the production host and supply strong, unique credentials. NODE_ENV=production # Auth tokens (required; generate independently with: openssl rand -hex 32) STOCK_BOT_ADMIN_TOKEN= STOCK_BOT_SERVICE_TOKEN= STOCK_BOT_READ_TOKEN= STOCK_BOT_HTTP_HOST=127.0.0.1 STOCK_BOT_ALLOWED_ORIGINS= STOCK_BOT_AUTH_DISABLED=false # Production PostgreSQL POSTGRES_HOST= POSTGRES_PORT=5432 POSTGRES_DATABASE=trading_bot_prod POSTGRES_USERNAME= POSTGRES_PASSWORD= POSTGRES_SSL=true DATABASE_POSTGRES_HOST= DATABASE_POSTGRES_PORT=5432 DATABASE_POSTGRES_DATABASE=trading_bot_prod DATABASE_POSTGRES_USER= DATABASE_POSTGRES_PASSWORD= # Production MongoDB (ingestion write URI + optional read-only URI for data-pipeline) MONGODB_HOST= MONGODB_PORT=27017 MONGODB_DATABASE=stock MONGODB_USERNAME= MONGODB_PASSWORD= MONGODB_URI= MONGODB_READ_URI= MONGODB_CACHE_GB=16 # Production Dragonfly / QuestDB DRAGONFLY_HOST= DRAGONFLY_PORT=6379 DRAGONFLY_PASSWORD= DRAGONFLY_MAXMEMORY=8gb QUESTDB_HOST= QUESTDB_PORT=9000 QUESTDB_PG_PORT=8812 QUESTDB_ILP_PORT=9009 # Provider credentials (configure only enabled providers) EOD_API_KEY= QM_USERNAME= QM_PASSWORD= IB_ACCOUNT=