-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
105 lines (82 loc) · 2.94 KB
/
.env.example
File metadata and controls
105 lines (82 loc) · 2.94 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Environment Variables Configuration for VC Stack
#
# WARNING: This is a template file. Copy to .env and update with your values.
# NEVER commit .env files to version control!
#
# For comprehensive configuration, use the component-specific files:
# configs/env/vc-management.env.example (management plane)
# configs/env/vc-compute.env.example (compute node)
# ========================================
# Security Configuration
# ========================================
# Admin Default Password (CHANGE THIS!)
# If not set, a random password will be generated on first start
ADMIN_DEFAULT_PASSWORD=
# JWT Secret (REQUIRED - Generate with: openssl rand -base64 64)
JWT_SECRET=
# Master encryption key for ENC() secrets (generate with: vcctl secrets init)
# VC_MASTER_KEY=
# ========================================
# Database Configuration
# ========================================
DB_HOST=localhost
DB_PORT=5432
DB_NAME=vcstack
DB_USER=vcstack
DB_PASS=
# ========================================
# Server Configuration
# ========================================
VC_MANAGEMENT_PORT=8080
# ========================================
# Sentry Configuration (Optional)
# ========================================
SENTRY_DSN=
SENTRY_ENVIRONMENT=production
# ========================================
# Logging Configuration
# ========================================
LOGGING_LEVEL=info
LOGGING_FORMAT=json
LOGGING_OUTPUT=stdout
# ========================================
# Network Configuration (OVN)
# ========================================
NETWORK_OVN_NB_ADDRESS=tcp:localhost:6641
NETWORK_OVN_SB_ADDRESS=tcp:localhost:6642
# ========================================
# CORS (for web console)
# ========================================
SECURITY_CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# ========================================
# etcd (P4 HA - Distributed Lock)
# ========================================
# Comma-separated list. Leave empty for single-instance mode.
ETCD_ENDPOINTS=
# ETCD_ENDPOINTS=etcd-1:2379,etcd-2:2379,etcd-3:2379
# ETCD_USERNAME=
# ETCD_PASSWORD=
# ========================================
# Redis (P4 HA - Session / Cache)
# ========================================
# Set REDIS_ADDR for standalone, or REDIS_MASTER_NAME+REDIS_SENTINEL_ADDRS for Sentinel.
REDIS_ADDR=
# REDIS_ADDR=localhost:6379
# REDIS_MASTER_NAME=vcstack-master
# REDIS_SENTINEL_ADDRS=sentinel-1:26379,sentinel-2:26379,sentinel-3:26379
# REDIS_PASSWORD=
# ========================================
# Monitoring (docker compose --profile monitoring)
# ========================================
# InfluxDB (time-series metrics backend)
INFLUXDB_URL=http://influxdb:8086
INFLUXDB_TOKEN=vc-stack-monitoring-token-dev
INFLUXDB_ORG=vc-stack
INFLUXDB_BUCKET=monitoring
INFLUXDB_ADMIN_USER=admin
# REQUIRED — generate with: openssl rand -base64 24
INFLUXDB_ADMIN_PASSWORD=
# Grafana
GF_ADMIN_USER=admin
# REQUIRED — generate with: openssl rand -base64 24
GF_ADMIN_PASSWORD=