quanthedge / .env.example
jashdoshi77's picture
QuantHedge: Full deployment with Docker + nginx + uvicorn
9d29748
# QuantHedge Environment Configuration
# Copy this to .env and fill in your values
# ─── Database ───
DATABASE_URL=sqlite+aiosqlite:///./quanthedge.db
# For PostgreSQL (production):
# DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/quanthedge
# ─── Redis (optional β€” falls back to in-memory cache) ───
REDIS_URL=redis://localhost:6379/0
# ─── Authentication ───
SECRET_KEY=change-me-to-a-random-secret-key-in-production
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# ─── External API Keys ───
ALPHA_VANTAGE_API_KEY=
NEWS_API_KEY=
GROQ_API_KEY=
# ─── Celery (optional β€” falls back to synchronous execution) ───
CELERY_BROKER_URL=redis://localhost:6379/1
CELERY_RESULT_BACKEND=redis://localhost:6379/2
# ─── App Settings ───
APP_NAME=QuantHedge
APP_VERSION=1.0.0
DEBUG=true
CORS_ORIGINS=["http://localhost:5173","http://localhost:3000"]