feat: productionize learning engine and classroom

This commit is contained in:
inman
2026-08-16 21:44:52 +08:00
parent 2d04197f3f
commit ba35adfbfa
124 changed files with 9071 additions and 796 deletions

View File

@@ -464,8 +464,31 @@ DEFAULT_MODEL=
# Where the server keeps courseware records and bundle bytes.
# Defaults to ./data/coursewares and ./data/courseware-bundles.
# COURSEWARE_DATA_DIR=
# Private Works -> Learning Engine authentication. LEARNING_ENGINE_TOKEN is
# canonical; MAKELORE_RUNTIME_TOKEN is a temporary migration alias.
# LEARNING_ENGINE_TOKEN=replace-with-a-long-random-secret
# MAKELORE_RUNTIME_TOKEN=
# One shared writable root for Engine + Learning Ops state. Mount /app/data as
# RWX when those two deployments are separate processes.
# LEARNING_DATA_DIR=/app/data
# Optional sidecar HMAC for exact aggregate/single archive bytes.
# LEARNING_PACKAGE_SIGNING_KEY=
# LEARNING_PACKAGE_SIGNING_KEY_ID=default
# MAKELORE_COURSE_PACKAGE_DIR=/app/data/makelore-packages
# MAKELORE_COURSE_STORE_DIR=/app/data/makelore-courses
# COURSEWARE_BUNDLE_DIR=
# Learning Ops build/runtime. OPENMAIC_BASE_PATH is a build-time Next basePath;
# build the Ops artifact/image with /learning-ops. Browser bearer sessions are
# introspected against Works and production never falls back to ACCESS_CODE.
# OPENMAIC_BASE_PATH=/learning-ops
# WORKS_SQUARE_API_BASE_URL=http://works-square-server:8000
# Ops runner mutations use the same Engine process as Works cancel/resume.
# Canonical value includes the private API prefix. When omitted, the existing
# COURSE_PUBLISH_SERVER_BASE_URL origin is reused with /api/runtime/v1.
# LEARNING_ENGINE_BASE_URL=http://makelore-learning-engine:3000/api/runtime/v1
# Max accepted size of each module bundle (default 300 MiB).
# COURSEWARE_MAX_UPLOAD_BYTES=314572800