-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenv.example
More file actions
39 lines (31 loc) · 1.34 KB
/
env.example
File metadata and controls
39 lines (31 loc) · 1.34 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
# ============================================================================
# Database Configuration (PostgreSQL/TimescaleDB)
# ============================================================================
DB_USER=iiot_user
DB_PASS=iiot_password
DB_HOST=timescaledb
DB_PORT=5432
DB_NAME=iiot_dqa
# ============================================================================
# Worker Configuration
# ============================================================================
# Aggregation interval (seconds) - how long each aggregation window is
AGGREGATION_INTERVAL_SECONDS=3600 # 1 hour
# Original data collection frequency (seconds)
ORIGINAL_FREQUENCY_SECONDS=10 # 10 seconds
# Anomaly detection threshold (Z-score)
ANOMALY_THRESHOLD_ZSCORE=2.0
# Batch size for data processing
BATCH_SIZE=1000
# Worker check interval (seconds) - how often worker runs aggregation cycle
WORKER_INTERVAL_SECONDS=60
# Logging level
LOG_LEVEL=INFO
# ============================================================================
# OpenAI Configuration
# ============================================================================
OPENAI_API_KEY=your_openai_api_key_here
# ============================================================================
# Application Configuration
# ============================================================================
PYTHONPATH=/app