feat: migrate java control plane foundation

This commit is contained in:
wlx committed 2026-09-07 16:54:43 +08:00
1 parent 1615401185
commit 9da175c040
24 files changed
+1555 -12

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# 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=