This commit is contained in:
cjw
2026-02-13 00:29:12 +08:00
parent 09e586734b
commit aa1c91b818
7 changed files with 43 additions and 20 deletions
+13 -4
View File
@@ -1,9 +1,18 @@
# 服务器配置
# 服务配置
HOST=0.0.0.0
# ================================
# 端口配置 - 唯一修改端口的地方
# ================================
# 应用端口(容器内端口)
PORT=8000
# Docker映射到宿主机的端口(docker-compose使用)
HOST_PORT=10001
# ================================
DEBUG=false
# 文件上传配置
# 文件处理配置
UPLOAD_DIR=./uploads
MAX_FILE_SIZE=104857600
ALLOWED_EXTENSIONS=.stp,.step,.stp.gz
@@ -13,12 +22,12 @@ POINTCLOUD_SAMPLE_COUNT=10000
MESH_QUALITY=high
PARALLEL_PROCESSING=true
# PostgreSQL 数据库配置
# 数据库配置
DB_HOST=localhost
DB_PORT=5432
DB_NAME=moldinsight
DB_USER=moldinsight_user
DB_PASSWORD=your_secure_password_here
DB_PASSWORD=moldinsight_password
# RustFS 对象存储配置 (S3v4 API)
RUSTFS_ENDPOINT=http://localhost:9000