cmvr-visual/.env.example

52 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copy to .env on the server. This file contains no working credentials.
CMVR_MODE=production
# 交互/批量共用的显卡调用时段:true为北京时间21:00至次日08:00。
GPU_WINDOW_ENABLED=true
MYSQL_HOST=192.168.28.10
MYSQL_PORT=3306
MYSQL_DATABASE=cmvr-visual
MYSQL_USER=
MYSQL_PASSWORD=
ADMIN_USERNAME=admin
ADMIN_DISPLAY_NAME=管理员
ADMIN_PASSWORD=
# Set true behind public HTTPS. False is only for loopback HTTP/SSH preview.
COOKIE_SECURE=false
PUBLIC_ACCESS=false
# 镜头上限及旧任务兼容策略;项目时段开关由GPU_WINDOW_ENABLED决定。
RUNTIME_POLICY_FILE=/workspace/projects/llm-services/config/runtime-policy.json
# 0 disables the per-user unfinished interactive GPU queue cap; positive values opt in.
MAX_INTERACTIVE_GPU_JOBS=0
MAX_CREATION_COMMANDS_PER_MINUTE=6
MAX_OWNER_JOBS=500
MAX_GLOBAL_JOBS=2000
# Pending story candidates are durable plans; only admitted leaves consume Job slots.
MAX_OWNER_STORY_CANDIDATES=4000
MAX_GLOBAL_STORY_CANDIDATES=16000
# Enable only after validating the identical profile in the inference service.
REFERENCE_GENERATION_ENABLED=false
REFERENCE_GENERATION_PROFILE=qwen-image-edit-2511-v1
REFERENCE_MAX_IMAGES=3
# Both business and inference must certify/enable the same video editing profile.
VIDEO_EDIT_ENABLED=false
VIDEO_EDIT_PROFILE=wan-animate-replace-v1
VIDEO_EDIT_MAX_SECONDS=120
VIDEO_EDIT_MAX_PEOPLE=12
VIDEO_EDIT_MAX_PIXELS=399360
MAX_OWNER_RUNS=100
MAX_GLOBAL_RUNS=1000
MAX_OWNER_BATCHES=20
MAX_GLOBAL_BATCHES=200
MAX_OWNER_ASSET_BYTES=107374182400
MAX_DATA_BYTES=2199023255552
MIN_FREE_BYTES=53687091200
TTS_API_KEY=
# Qwen 按需启动:等待 GPU 交接和冷加载使用独立超时,单位秒。
QWEN_TIMEOUT_SECONDS=1800
# 配音包含有界排队、CPU冷加载与下载。
SPEECH_TIMEOUT_SECONDS=330
SPEECH_TOTAL_TIMEOUT_SECONDS=360
TTS_QUEUE_TIMEOUT_SECONDS=30
WORKSPACE_HOST=/data/llmusers/llmuser/workspace
WEB_PORT=18193