-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (40 loc) · 1.21 KB
/
Copy path.env.example
File metadata and controls
51 lines (40 loc) · 1.21 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
50
51
#####
# Secrets & API Keys
#####
# Fingrid API (REQUIRED)
FINGRID_API_KEY=
# FMI Settings
FMI_STATION_ID=101004 # Helsinki Kaisaniemi
FMI_BBOX=19.0,59.0,32.0,70.5 # Finland bounding box
# Application
LOG_LEVEL=INFO
CACHE_TTL_SECONDS=180 # 3 minutes for real-time data
# Observability (Logfire - optional)
LOGFIRE_TOKEN=
LOGFIRE_PROJECT=ilmanhinta
LOGFIRE_ENVIRONMENT=production
# Observability (OpenTelemetry - optional)
# Automatically configured in docker-compose.yml via network alias
# Apps send to otel-collector:4317, which resolves to either lite or signoz collector depending on mode
# Override this only if using external OTEL collector
OTEL_EXPORTER_OTLP_ENDPOINT=
# ML Model
MODEL_RETRAIN_HOURS=24
PREDICTION_HORIZON_HOURS=24
# API
API_HOST=0.0.0.0
API_PORT=8000
# Dagster
DAGSTER_HOME=/app/dagster_home
# Storage
# Set a data root for model artifacts.
# DATA_DIR=/var/data
# Database (Docker Compose / Local)
# These are used to construct DATABASE_URL in docker-compose.yml
POSTGRES_USER=api
POSTGRES_PASSWORD=hunter2
POSTGRES_DB=ilmanhinta
POSTGRES_PORT=5432
# Database (Production)
# When deploying, set this directly instead of using the above
# DATABASE_URL=postgresql://user:password@host:port/database