-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
50 lines (42 loc) · 2.02 KB
/
Copy pathenv.example
File metadata and controls
50 lines (42 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# ============================================================================
# QuantX Trading Platform - Environment Variables
#
# Copy this file to .env and fill in your values:
# cp env.example .env
# ============================================================================
# -----------------------------------------------------------------------------
# PostgreSQL Database
# -----------------------------------------------------------------------------
POSTGRES_USER=quantx
POSTGRES_PASSWORD=quantx_secret_change_me
POSTGRES_DB=quantx
POSTGRES_PORT=5432
# -----------------------------------------------------------------------------
# Database URL (used by the API)
# For Docker: uses internal hostname 'postgres'
# For local dev: use 'localhost' instead of 'postgres'
# -----------------------------------------------------------------------------
DATABASE_URL=postgresql+asyncpg://quantx:quantx_secret_change_me@postgres:5432/quantx
# For local development (outside Docker):
# DATABASE_URL=postgresql+asyncpg://quantx:quantx_secret_change_me@localhost:5432/quantx
# -----------------------------------------------------------------------------
# API Configuration
# -----------------------------------------------------------------------------
API_PORT=8000
# -----------------------------------------------------------------------------
# Firebase Configuration
#
# Option 1: Service Account JSON file (recommended)
# Place your service-account.json in the quantx/ directory
#
# Option 2: Environment variable with JSON content
# FIREBASE_SERVICE_ACCOUNT='{"type":"service_account",...}'
# -----------------------------------------------------------------------------
GOOGLE_APPLICATION_CREDENTIALS=service-account.json
# -----------------------------------------------------------------------------
# Application Settings
# -----------------------------------------------------------------------------
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Environment: development, staging, production
ENVIRONMENT=development