31 lines
911 B
Bash
31 lines
911 B
Bash
# Copy to .env.cloud on the target server. Never commit the real file.
|
|
MOYI_HTTP_PORT=8080
|
|
CONTROL_PLANE_CORS_ORIGINS=https://moyi.example.com
|
|
|
|
# Alibaba Cloud RDS PostgreSQL private endpoint.
|
|
MOYI_DB_URL=jdbc:postgresql://rds-private-endpoint:1921/moyi_control
|
|
MOYI_DB_USERNAME=moyi_app
|
|
MOYI_DB_PASSWORD=replace-with-a-long-random-password
|
|
|
|
# Alibaba Cloud Redis/Tair private endpoint. Use TLS parameters if enabled by the instance.
|
|
MOYI_REDIS_URL=rediss://:replace-with-redis-password@redis-private-endpoint:6379/0
|
|
|
|
SESSION_TTL_HOURS=168
|
|
AUTH_PASSWORD_PEPPER=replace-with-a-long-random-secret-at-least-32-chars
|
|
ADMIN_ACCOUNT=adimin
|
|
ADMIN_PASSWORD=replace-with-a-strong-initial-password
|
|
ADMIN_DISPLAY_NAME=平台管理员
|
|
AUTH_SECURE_COOKIE=true
|
|
|
|
OSS_ENDPOINT=
|
|
OSS_REGION=
|
|
OSS_BUCKET=
|
|
OSS_ACCESS_KEY_ID=
|
|
OSS_ACCESS_KEY_SECRET=
|
|
|
|
TRIPO_API_KEY=
|
|
DEEPSEEK_API_KEY=
|
|
KIMI_API_KEY=
|
|
ZHIPU_API_KEY=
|
|
VOLCENGINE_API_KEY=
|