-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
77 lines (62 loc) · 2.47 KB
/
Copy path.env.example
File metadata and controls
77 lines (62 loc) · 2.47 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
# Ushadow Environment Configuration Template
# Copy this file to .env and customize for your environment
# DO NOT COMMIT .env - it contains environment-specific configuration
# ==========================================
# ENVIRONMENT & PROJECT NAMING
# ==========================================
ENV_NAME=ushadow
COMPOSE_PROJECT_NAME=ushadow
# ==========================================
# PORT CONFIGURATION
# ==========================================
PORT_OFFSET=10
BACKEND_PORT=8010
WEBUI_PORT=3010
# ==========================================
# DATABASE ISOLATION
# ==========================================
MONGODB_DATABASE=ushadow
REDIS_DATABASE=0
# ==========================================
# CORS & FRONTEND CONFIGURATION
# ==========================================
CORS_ORIGINS=http://localhost:3010,http://127.0.0.1:3010,http://localhost:8010,http://127.0.0.1:8010
VITE_BACKEND_URL=http://localhost:8010
VITE_ENV_NAME=ushadow
HOST_IP=localhost
# Development mode
DEV_MODE=true
# ==========================================
# SHARE LINK CONFIGURATION
# ==========================================
# Base URL for share links (highest priority if set)
# SHARE_BASE_URL=https://ushadow.tail12345.ts.net
# Public gateway URL for external friend sharing (requires share-gateway deployment)
# SHARE_PUBLIC_GATEWAY=https://share.yourdomain.com
# Share feature toggles
SHARE_VALIDATE_RESOURCES=false # Enable strict resource validation
SHARE_VALIDATE_TAILSCALE=false # Enable Tailscale IP validation
# ==========================================
# SECURITY
# ==========================================
# REQUIRED: Random secret for signing JWTs. Generate with: openssl rand -hex 32
AUTH_SECRET_KEY=change-me-generate-with-openssl-rand-hex-32
# ==========================================
# DATABASE CONFIGURATION
# ==========================================
# SECURITY: Change these defaults in production!
POSTGRES_DB=ushadow
# ==========================================
# KUBERNETES CONFIGURATION
# ==========================================
# Container registry for Kubernetes deployments
# Used by: Kustomize, build scripts, k8s manifests
# Examples:
# - Docker Hub: docker.io/yourorg
# - Private registry: registry.example.com:5000
# - Local registry: localhost:5000
K8S_REGISTRY=your-registry:5000
REPOSITORY_URL=your-registry:5000 # Alias for compatibility
# Kubernetes namespace for deployments (default: ushadow)
# Each namespace gets isolated config PVC: {namespace}-config
# K8S_NAMESPACE=ushadow