-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
82 lines (61 loc) · 2.86 KB
/
.env.example
File metadata and controls
82 lines (61 loc) · 2.86 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# SLURM Dashboard Configuration
# Copy this file to .env and update with your values
# =============================================================================
# Required Configuration
# =============================================================================
# Path to SLURM usage data directory
# This should contain subdirectories for each cluster with weekly-data/
DATA_PATH=/data/slurm-usage
# =============================================================================
# API Configuration
# =============================================================================
# API URL prefix (default: /api)
API_PREFIX=/api
# API metadata
API_TITLE=SLURM Usage History API
API_VERSION=0.3.0
# =============================================================================
# Server Configuration
# =============================================================================
# Auto-refresh interval in seconds (default: 600 = 10 minutes)
# How often to reload data from disk
AUTO_REFRESH_INTERVAL=600
# CORS origins (comma-separated list)
# Add your frontend URLs here
CORS_ORIGINS=http://localhost:5173,http://localhost:8100,https://dashboard.example.com
# =============================================================================
# Agent API Configuration
# =============================================================================
# API keys for agent authentication (comma-separated list)
# Agents use these keys to upload data via API instead of filesystem
# Generate secure random keys: python -c "import secrets; print(secrets.token_urlsafe(32))"
API_KEYS=your-secure-api-key-here
# =============================================================================
# SAML Authentication (Optional)
# =============================================================================
# Enable SAML authentication
ENABLE_SAML=false
# Path to SAML settings JSON file
# See INSTALL.md for SAML configuration details
SAML_SETTINGS_PATH=/etc/slurm-dashboard/saml/settings.json
# =============================================================================
# Logging Configuration
# =============================================================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# =============================================================================
# Database Configuration (Optional)
# =============================================================================
# DuckDB memory limit (e.g., 8GB, 4GB)
# Uncomment to limit memory usage
# DUCKDB_MEMORY_LIMIT=8GB
# DuckDB thread count
# Uncomment to set specific thread count
# DUCKDB_THREADS=4
# =============================================================================
# Development Settings
# =============================================================================
# Enable debug mode (DO NOT use in production)
DEBUG=false
# Enable hot reload for development
RELOAD=false