feat(web): T-WEB-010 部署脚本(Docker Compose,不含 MySQL)

This commit is contained in:
2026-09-14 19:00:55 +08:00
parent 640736c77b
commit 5a8b77b0a4
8 changed files with 475 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# ============================================================
# OpenDance Studio Web 服务端 —— 部署环境变量
# 复制为 .env 后填写,.env 已被 .gitignore 忽略,禁止提交。
# ============================================================
# ---- 现有 MySQL / MariaDB 实例(本项目不部署、不管理数据库)----
DB_HOST=<existing-mysql-host>
DB_PORT=3306
DB_USER=opendance_app
DB_PASS=<部署方提供>
DB_NAME=opendance
DB_LOGGING=false
# ---- 端口映射(宿主机端口)----
API_PORT=3000
ADMIN_PORT=8080
# ---- 上传与预处理 ----
# 单文件上限(字节),默认 512 MiB
UPLOAD_MAX_BYTES=536870912
# 可选:Assimp 可执行文件(FBX/glTF 动作预处理需要)
ASSIMP_BIN=assimp