Files

43 lines
1.3 KiB
Bash

# Copy to .env on the target server. Do not commit the real file.
MOYI_HTTP_PORT=8080
POSTGRES_USER=moyi
POSTGRES_PASSWORD=replace-with-a-long-random-password
POSTGRES_DB=moyi_control
REDIS_PASSWORD=replace-with-a-long-random-password
# Gateway protection defaults. Tune after observing real traffic.
GATEWAY_REQUESTS_PER_MINUTE=60
GATEWAY_READS_PER_MINUTE=300
GATEWAY_DEFAULT_MODEL_CONCURRENCY=4
GATEWAY_DEFAULT_KEY_CONCURRENCY=4
GATEWAY_RISK_MODE=shadow
TASK_MAX_QUEUED_PER_MODEL=100
MOYI_TASK_WORKER_INTERVAL_MS=1000
SESSION_TTL_HOURS=168
AUTH_PASSWORD_PEPPER=replace-with-a-long-random-secret-at-least-32-chars
CREDENTIAL_ENCRYPTION_KEY=replace-with-a-long-random-secret-for-provider-credentials
ADMIN_ACCOUNT=adimin
ADMIN_PASSWORD=replace-with-a-strong-initial-password
ADMIN_DISPLAY_NAME=平台管理员
# Optional upstream gateway endpoint used after Otari/adapter integration.
OTARI_BASE_URL=http://otari:8000
# Object storage: external Alibaba Cloud OSS or an S3-compatible service.
OSS_ENDPOINT=
OSS_REGION=
OSS_BUCKET=
OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=
# Provider credentials: only injected into the API container.
# Tripo supports one key or a | separated rotation list.
TRIPO_API_KEY=
DEEPSEEK_API_KEY=
KIMI_API_KEY=
ZHIPU_API_KEY=
VOLCENGINE_API_KEY=