-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
63 lines (51 loc) · 2.15 KB
/
Copy path.env.example
File metadata and controls
63 lines (51 loc) · 2.15 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
# Server Configuration
PORT=8080
APP_ENV=development # development or production
# WebSocket allowlist
# Comma-separated list of Origin header values allowed to open WS connections.
# Empty (default) = deny all cross-origin upgrades. Use "*" only for non-
# credentialed dev endpoints.
# WS_ALLOWED_ORIGINS=https://console.example.com,https://app.example.com
# Dashboard SSE cross-origin control (default: deny all)
# Comma-separated list of permitted Origin header values for SSE stream.
# Empty = deny all cross-origin SSE. Use "*" for dev only.
# DASHBOARD_ALLOWED_ORIGINS=https://console.example.com,https://app.example.com
# Database Configuration
DB_USER=cloud
DB_PASSWORD=cloud
DB_NAME=thecloud
DB_PORT_MAPPING=5433:5432
# Security
# SECRETS_ENCRYPTION_KEY must be at least 16 characters.
# In production, this is REQUIRED.
SECRETS_ENCRYPTION_KEY=your-secure-encryption-key-here
# Docker (usually default is fine)
# DOCKER_HOST=unix:///var/run/docker.sock
# Network Configuration
# Default CIDR block for VPCs when not specified
DEFAULT_VPC_CIDR=10.0.0.0/16
# Network pool for libvirt adapter (each network gets a /24 from this range)
NETWORK_POOL_START=192.168.100.0
NETWORK_POOL_END=192.168.200.255
# Compute Backend (docker or libvirt)
COMPUTE_BACKEND=docker
# Distributed Tracing (Jaeger)
TRACING_ENABLED=false
TRACING_EXPORTER=jaeger # options: jaeger, console
JAEGER_ENDPOINT=http://localhost:4318
# PowerDNS Configuration
POWERDNS_API_URL=http://localhost:8081
# POWERDNS_API_KEY is REQUIRED - must be set to a secure value
POWERDNS_API_KEY=your-secure-dns-api-key
POWERDNS_SERVER_ID=localhost
# Storage Configuration
# STORAGE_SECRET is REQUIRED for presigned URL signing - must be set to a secure value
STORAGE_SECRET=your-secure-storage-secret
# Kubernetes Cluster Configuration
# CLOUD_API_URL is the public API URL used by k8s cluster components (CCM, autoscaler)
# For local development, use http://host.docker.internal:8080
# For production, use https://api.yourdomain.com
CLOUD_API_URL=http://host.docker.internal:8080
# CLOUD_API_KEY is the API key used by k8s cluster components to authenticate
# Generate with: openssl rand -hex 32
CLOUD_API_KEY=your-api-key-here