-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (39 loc) · 1.6 KB
/
.env.example
File metadata and controls
45 lines (39 loc) · 1.6 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
# ===========================================
# Viberation RUL Prognostics - Environment Configuration
# ===========================================
# Copy this file to .env and configure values for your environment
# Command: cp .env.example .env
# ===========================================
# PostgreSQL Database (NEW - Phase 1)
# ===========================================
POSTGRES_USER=vibration
POSTGRES_PASSWORD=vibration_pass
POSTGRES_DB=vibration_analysis
DATABASE_URL_POSTGRESQL=postgresql://vibration:vibration_pass@localhost:5432/vibration_analysis
# ===========================================
# Redis Cache (NEW - Phase 1)
# ===========================================
REDIS_PASSWORD=redis_pass
REDIS_URL=redis://:redis_pass@localhost:6379/0
# ===========================================
# Real-time Configuration (NEW - Phase 1)
# ===========================================
ENABLE_REALTIME=true
MAX_WEBSOCKET_CONNECTIONS=100
SENSOR_BUFFER_SIZE=25600
FEATURE_COMPUTATION_INTERVAL=1.0
# ===========================================
# Legacy SQLite Databases (Existing)
# ===========================================
PHM_DATABASE_PATH=./backend/phm_data.db
PHM_TEMPERATURE_DATABASE_PATH=./backend/phm_temperature_data.db
USE_POSTGRES=false
# ===========================================
# API Configuration (Existing)
# ===========================================
API_HOST=0.0.0.0
API_PORT=8081
# ===========================================
# CORS Configuration (Existing)
# ===========================================
CORS_ORIGINS=http://localhost:5173,http://localhost:3000