-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
57 lines (43 loc) · 1.66 KB
/
env.example
File metadata and controls
57 lines (43 loc) · 1.66 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
# Simple Docker Manager Configuration
# Copy this file to .env and customize as needed
# Server Configuration
# Host to bind the server to (default: 0.0.0.0)
SDM_HOST=0.0.0.0
# Port to bind the server to (default: 3000)
SDM_PORT=3000
# Logging Configuration
# Log level: error, warn, info, debug, trace (default: info)
SDM_LOG_LEVEL=info
# Docker Configuration
# Docker socket path (optional, auto-detected if not set)
# SDM_DOCKER_SOCKET=/var/run/docker.sock
# Metrics Configuration
# How often to update metrics in seconds (default: 5)
SDM_METRICS_INTERVAL_SECONDS=5
# Maximum number of metrics history points to keep in memory (default: 20)
SDM_METRICS_HISTORY_LIMIT=20
# Maximum number of containers to show in charts for performance and readability (default: 5)
# When you have more containers than this limit, only the top N by CPU usage will be shown in charts
SDM_MAX_CHART_CONTAINERS=5
# Graceful Shutdown Configuration
# How long to wait for graceful shutdown in seconds (default: 30)
SDM_SHUTDOWN_TIMEOUT_SECONDS=30
# Authentication Configuration
# Enable/disable authentication (default: true for security)
SDM_AUTH_ENABLED=true
# Username for authentication (default: admin)
SDM_AUTH_USERNAME=admin
# Password for authentication (if not set, a random password will be generated and displayed)
# SDM_AUTH_PASSWORD=your_secure_password_here
# Session timeout in seconds (default: 3600 = 1 hour)
SDM_SESSION_TIMEOUT_SECONDS=3600
# Environment-specific overrides
# For development
# SDM_LOG_LEVEL=debug
# SDM_PORT=3001
# SDM_AUTH_ENABLED=false
# For production
# SDM_LOG_LEVEL=warn
# SDM_HOST=127.0.0.1
# SDM_PORT=8080
# SDM_AUTH_PASSWORD=your_very_secure_production_password