feat: 完善服务端工程化、发布流程和自动化测试

This commit is contained in:
2026-07-16 08:36:12 +00:00
parent 0b71e8d024
commit 5d7aa560e5
29 changed files with 822 additions and 7987 deletions
+2
View File
@@ -34,6 +34,7 @@ services:
MINIO_BUCKET: ${MINIO_BUCKET:?MINIO_BUCKET is required}
api:
# 离线部署包使用已经 docker load 导入的镜像,不在目标服务器重新 build。
image: ${SIMCAE_UPDATE_SERVER_IMAGE:-simcae-update-server:0.1.0}
restart: unless-stopped
user: "${APP_UID:-1000}:${APP_GID:-1000}"
@@ -57,6 +58,7 @@ services:
ports:
- "${SERVER_PORT:-8000}:8000"
volumes:
# runtime 保存 SQLite、上传缓存和崩溃报告等运行数据;keys 只读挂载,避免私钥被容器误改。
- ./.env:/app/.env
- ./runtime:/data
- ./minio_data:/minio_data:ro