-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (49 loc) · 1.5 KB
/
.env.example
File metadata and controls
63 lines (49 loc) · 1.5 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
52
53
54
55
56
57
58
59
60
61
62
63
# Valtronics Environment Configuration
# Database Configuration
DATABASE_URL=postgresql://valtronics:password@localhost:5432/valtronics_db
# Redis Configuration
REDIS_URL=redis://localhost:6379
# MQTT Configuration
MQTT_BROKER_HOST=localhost
MQTT_BROKER_PORT=1883
MQTT_USERNAME=
MQTT_PASSWORD=
# AI Integration
OPENAI_API_KEY=your-openai-api-key-here
AI_MODEL=gpt-3.5-turbo
# Security
SECRET_KEY=your-super-secret-key-change-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=30
ALGORITHM=HS256
# CORS Settings
ALLOWED_HOSTS=["http://localhost:3000", "http://127.0.0.1:3000"]
# WebSocket Configuration
WS_HEARTBEAT_INTERVAL=30
# Monitoring
ENABLE_METRICS=true
METRICS_PORT=9090
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
# Development Settings
DEBUG=false
TESTING=false
# Email Configuration (for alerts)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_FROM_EMAIL=noreply@valtronics.com
# Webhook Configuration (for alerts)
WEBHOOK_URL=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK
# Frontend Configuration
REACT_APP_API_URL=http://localhost:8000/api/v1
REACT_APP_WS_URL=ws://localhost:8000/ws
REACT_APP_MQTT_URL=ws://localhost:9001
# Production Settings
# DATABASE_URL=postgresql://user:pass@prod-db:5432/valtronics_db
# REDIS_URL=redis://prod-redis:6379
# MQTT_BROKER_HOST=prod-mqtt
# ALLOWED_HOSTS=["https://valtronics.yourdomain.com"]
# REACT_APP_API_URL=https://api.valtronics.yourdomain.com/api/v1
# REACT_APP_WS_URL=wss://api.valtronics.yourdomain.com/ws