Skip to content

Commit 7d58000

Browse files
yasinBursaliclaude
andcommitted
chore: sync .env.schema.json with main to fix CI env-validation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a60ba4e commit 7d58000

File tree

2 files changed

+156
-4
lines changed

2 files changed

+156
-4
lines changed

.github/workflows/validate-env.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
# Generate minimal .env with all expected keys
5656
cat > .env << ENVEOF
5757
# Test .env for tier ${{ matrix.tier }}
58+
WEBUI_SECRET=test-secret-changeme
59+
N8N_USER=admin
60+
N8N_PASS=test-pass-changeme
61+
OPENCLAW_TOKEN=sk-test-openclaw-token
5862
DREAM_VERSION=2.1.0
5963
DREAM_TIER=${{ matrix.tier }}
6064
GPU_BACKEND=cpu

dream-server/.env.schema.json

Lines changed: 152 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
},
1818
"DREAM_MODE": {
1919
"type": "string",
20-
"description": "LLM backend mode: local, cloud, or hybrid",
20+
"description": "LLM backend mode: local, cloud, hybrid, or lemonade (AMD)",
2121
"enum": [
2222
"local",
2323
"cloud",
24-
"hybrid"
24+
"hybrid",
25+
"lemonade"
2526
],
2627
"default": "local"
2728
},
@@ -30,6 +31,20 @@
3031
"description": "URL where all services send LLM requests",
3132
"default": "http://llama-server:8080"
3233
},
34+
"LLM_BACKEND": {
35+
"type": "string",
36+
"description": "Inference backend: llama-server or lemonade",
37+
"default": "llama-server"
38+
},
39+
"LLM_API_BASE_PATH": {
40+
"type": "string",
41+
"description": "Base API path for the inference backend",
42+
"default": "/v1"
43+
},
44+
"TARGET_API_KEY": {
45+
"type": "string",
46+
"description": "API key for Privacy Shield upstream target (set to LITELLM_KEY in lemonade mode)"
47+
},
3348
"ANTHROPIC_API_KEY": {
3449
"type": "string",
3550
"description": "Anthropic API key (cloud/hybrid modes)"
@@ -49,7 +64,7 @@
4964
},
5065
"N8N_USER": {
5166
"type": "string",
52-
"description": "n8n admin username"
67+
"description": "n8n initial admin email address"
5368
},
5469
"N8N_PASS": {
5570
"type": "string",
@@ -234,7 +249,7 @@
234249
},
235250
"N8N_AUTH": {
236251
"type": "boolean",
237-
"description": "Enable n8n basic auth",
252+
"description": "Deprecated: n8n v2.x has built-in user management. This variable is ignored.",
238253
"default": true
239254
},
240255
"N8N_HOST": {
@@ -414,6 +429,139 @@
414429
"type": "string",
415430
"description": "Langfuse initial admin user password",
416431
"secret": true
432+
},
433+
"ENABLE_IMAGE_GENERATION": {
434+
"type": "string",
435+
"description": "Enable image generation in Open WebUI (requires ComfyUI)",
436+
"default": "true"
437+
},
438+
"GPU_COUNT": {
439+
"type": "integer",
440+
"description": "Number of GPUs detected at install time",
441+
"default": 1
442+
},
443+
"GPU_ASSIGNMENT_JSON_B64": {
444+
"type": "string",
445+
"description": "Base64-encoded GPU assignment JSON"
446+
},
447+
"LLAMA_SERVER_GPU_UUIDS": {
448+
"type": "string",
449+
"description": "GPU UUIDs assigned to llama-server (comma-separated, used by NVIDIA_VISIBLE_DEVICES)"
450+
},
451+
"LLAMA_ARG_SPLIT_MODE": {
452+
"type": "string",
453+
"description": "llama.cpp split mode (LLAMA_ARG_SPLIT_MODE): none | layer (pipeline) | row (tensor/hybrid)"
454+
},
455+
"LLAMA_ARG_TENSOR_SPLIT": {
456+
"type": "string",
457+
"description": "llama.cpp tensor split weights (LLAMA_ARG_TENSOR_SPLIT): comma-separated proportions e.g. 3,1"
458+
},
459+
"EMBEDDINGS_GPU_UUID": {
460+
"type": "string",
461+
"description": "GPU UUID assigned to embeddings service"
462+
},
463+
"COMFYUI_GPU_UUID": {
464+
"type": "string",
465+
"description": "GPU UUID assigned to ComfyUI"
466+
},
467+
"WHISPER_GPU_UUID": {
468+
"type": "string",
469+
"description": "GPU UUID assigned to Whisper"
470+
},
471+
"LLM_MODEL_SIZE_MB": {
472+
"type": "integer",
473+
"description": "Approximate model file size in MB (used for multi-GPU memory planning)"
474+
},
475+
"LITELLM_MASTER_KEY": {
476+
"type": "string",
477+
"description": "LiteLLM master API key for proxy authentication",
478+
"secret": true
479+
},
480+
"APE_PORT": {
481+
"type": "integer",
482+
"description": "Agent Policy Engine port",
483+
"default": 7890
484+
},
485+
"OPENCLAW_API_KEY": {
486+
"type": "string",
487+
"description": "OpenClaw API key for authentication",
488+
"secret": true
489+
},
490+
"OPENCLAW_CONFIG": {
491+
"type": "string",
492+
"description": "OpenClaw configuration profile name"
493+
},
494+
"DREAM_TIER": {
495+
"type": "string",
496+
"description": "Hardware tier classification (0-4, SH_LARGE, SH_COMPACT, NV_ULTRA, CLOUD)"
497+
},
498+
"HW_CLASS": {
499+
"type": "string",
500+
"description": "Hardware class identifier from capability profile"
501+
},
502+
"OPEN_WEBUI_PORT": {
503+
"type": "integer",
504+
"description": "Open WebUI external port",
505+
"default": 3000
506+
},
507+
"PRIVACY_SHIELD_PORT": {
508+
"type": "integer",
509+
"description": "Privacy Shield PII proxy port",
510+
"default": 7860
511+
},
512+
"LIVEKIT_PORT": {
513+
"type": "integer",
514+
"description": "LiveKit voice server port",
515+
"default": 7880
516+
},
517+
"LANGFUSE_NEXTAUTH_URL": {
518+
"type": "string",
519+
"description": "Langfuse NextAuth callback URL"
520+
},
521+
"LANGFUSE_POSTGRES_PASSWORD": {
522+
"type": "string",
523+
"description": "Langfuse PostgreSQL password",
524+
"secret": true
525+
},
526+
"LANGFUSE_POSTGRES_PORT": {
527+
"type": "integer",
528+
"description": "Langfuse PostgreSQL port",
529+
"default": 5433
530+
},
531+
"LANGFUSE_CLICKHOUSE_PORT": {
532+
"type": "integer",
533+
"description": "Langfuse ClickHouse native port"
534+
},
535+
"LANGFUSE_CLICKHOUSE_HTTP": {
536+
"type": "integer",
537+
"description": "Langfuse ClickHouse HTTP port"
538+
},
539+
"LANGFUSE_REDIS_PORT": {
540+
"type": "integer",
541+
"description": "Langfuse Redis port"
542+
},
543+
"LANGFUSE_MINIO_PORT": {
544+
"type": "integer",
545+
"description": "Langfuse MinIO S3 port"
546+
},
547+
"LANGFUSE_MINIO_CONSOLE_PORT": {
548+
"type": "integer",
549+
"description": "Langfuse MinIO console port"
550+
},
551+
"LANGFUSE_MINIO_ROOT_USER": {
552+
"type": "string",
553+
"description": "Langfuse MinIO root username",
554+
"secret": true
555+
},
556+
"LANGFUSE_MINIO_ROOT_PASSWORD": {
557+
"type": "string",
558+
"description": "Langfuse MinIO root password",
559+
"secret": true
560+
},
561+
"LANGFUSE_TELEMETRY_ENABLED": {
562+
"type": "string",
563+
"description": "Enable/disable Langfuse telemetry",
564+
"default": "false"
417565
}
418566
}
419567
}

0 commit comments

Comments
 (0)