Configuration
Complete reference for all configuration options.
Environment Variables
Section titled “Environment Variables”Core Services
Section titled “Core Services”| Variable | Default | Description |
|---|---|---|
FRONTEND_PORT | 8500 | Dashboard port |
API_PORT | 8501 | Backend API port |
DB_PORT | 8502 | TimescaleDB external port |
PGADMIN_PORT | 8503 | pgAdmin port |
ADMINER_PORT | 8504 | Adminer port |
Database
Section titled “Database”| Variable | Default | Description |
|---|---|---|
DB_HOST | timescaledb | Database hostname |
DB_NAME | quantum_trader | Database name |
DB_USER | postgres | Database user |
DB_PASSWORD | - | Database password (required) |
Data Providers
Section titled “Data Providers”| Variable | Default | Description |
|---|---|---|
POLYGON_API_KEY | - | Polygon.io API key |
ALPHA_VANTAGE_API_KEY | - | Alpha Vantage API key |
Authentication
Section titled “Authentication”| Variable | Default | Description |
|---|---|---|
JWT_SECRET | - | Secret for JWT tokens (required) |
JWT_EXPIRE_MINUTES | 30 | Token expiration time |
Example .env File
Section titled “Example .env File”# PortsFRONTEND_PORT=8500API_PORT=8501DB_PORT=8502
# DatabaseDB_PASSWORD=your_secure_password_hereDB_NAME=quantum_trader
# Data ProvidersPOLYGON_API_KEY=your_polygon_keyALPHA_VANTAGE_API_KEY=your_av_key
# AuthJWT_SECRET=your_jwt_secret_hereJWT_EXPIRE_MINUTES=60Next Steps
Section titled “Next Steps”- Dashboard Overview - Learn to use the UI
- API Authentication - Set up API access