Market Data Service is a high-performance financial data API that provides comprehensive Symbol prices of different markets through both RESTful endpoints and real-time WebSocket connections.

.env.example 761B

123456789101112131415161718192021222324252627
  1. # ============================================
  2. # Market Data Service - Environment Variables
  3. # ============================================
  4. # Copy this file to .env and update with your values
  5. # cp .env.example .env
  6. # Database Configuration
  7. DB_USER=postgres
  8. DB_PASSWORD=your_secure_password_here
  9. DB_NAME=financial_data
  10. # Application Configuration
  11. NODE_ENV=production
  12. PORT=3000
  13. CORS_ORIGIN=https://market-price.insightbull.io
  14. JWT_SECRET=your_secure_jwt_secret_here
  15. LOG_LEVEL=info
  16. # SSL Certificate Configuration
  17. # Domain name for SSL certificate (must match DNS)
  18. DOMAIN_NAME=market-price.insightbull.io
  19. # Email for Let's Encrypt notifications
  20. SSL_EMAIL=your-email@example.com
  21. # Optional: Use staging server for testing (set to 1 for testing)
  22. # SSL_STAGING=0