-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
53 lines (42 loc) · 1.48 KB
/
Copy path.env.example
File metadata and controls
53 lines (42 loc) · 1.48 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
# DIWAH Dashboard Environment Configuration
# ==========================================
# Copy this file to .env and adjust values for your environment.
#
# For local development:
# cp .env.example .env
#
# For production/university deployment:
# Update all values with secure credentials!
# =================================
# InfluxDB Configuration
# =================================
# InfluxDB connection URL
# Local Docker: http://localhost:8086
# University server: http://your-server.university.edu:8086
INFLUX_URL=http://localhost:8086
# InfluxDB credentials (used for initial setup)
# IMPORTANT: Change these for production!
INFLUX_USERNAME=admin
INFLUX_PASSWORD=change-me-to-secure-password
# Organization name (keep consistent across all deployments)
INFLUX_ORG=diwah
# Bucket name for wearable sensor data
INFLUX_BUCKET=wearables
# API Token for authentication
# IMPORTANT: Generate a new token for production!
# In InfluxDB UI: Data > API Tokens > Generate API Token
INFLUX_TOKEN=dev-token
# =================================
# Dashboard Configuration
# =================================
# Dashboard Authentication (required for access)
# IMPORTANT: Set secure credentials for production!
DASHBOARD_USERNAME=researcher
DASHBOARD_PASSWORD=change-me-to-secure-password
# Enable debug mode (set to true for development)
DASHBOARD_DEBUG=false
# Host to bind the dashboard to
# Use 0.0.0.0 for Docker or external access
DASHBOARD_HOST=0.0.0.0
# Port for the dashboard
DASHBOARD_PORT=8050