feat: AI 即时分析计费/共识/校准与 Docker 前端构建
- 即时分析:先扣费、防重入(429)、失败退款;记忆库与离线校准 worker - 多周期共识、客观分与设置项 AI_ANALYSIS_CONSENSUS_TIMEFRAMES - Docker:前端多阶段构建(QuantDinger-Vue-src)、根目录 .dockerignore、compose 调整 - 同步 frontend/dist 静态资源 Made-with: Cursor
This commit is contained in:
+7
-5
@@ -8,11 +8,13 @@
|
||||
# 3. docker-compose up -d --build
|
||||
# 4. Open http://localhost:8888
|
||||
#
|
||||
# Frontend image: multi-stage build from QuantDinger-Vue-src (context = repo root).
|
||||
# To refresh static files without Docker: cd QuantDinger-Vue-src && npm run build
|
||||
# && rm -rf ../frontend/dist && cp -R dist ../frontend/dist
|
||||
#
|
||||
# Note: The container will NOT start if SECRET_KEY is using the default value.
|
||||
# This is a security measure to prevent insecure deployments.
|
||||
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# ========================
|
||||
# PostgreSQL Database
|
||||
@@ -73,12 +75,12 @@ services:
|
||||
retries: 3
|
||||
|
||||
# ========================
|
||||
# Frontend (Nginx + Pre-built)
|
||||
# Frontend (Nginx + Vue build from QuantDinger-Vue-src)
|
||||
# ========================
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
dockerfile: frontend/Dockerfile
|
||||
container_name: quantdinger-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user