Files
endorphin-hestia-server/README.md
T
codex-bot 60198a6aca
Verify Hestia server / verify (push) Failing after 4m1s
fix: fetch Hestia sources without custom SSH secrets
2026-10-20 02:39:47 +08:00

23 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Hestia Server
Hestia 是独立 Endor HTTP 宿主。使用固定版本的 Aster 对象与 VM 库;当前仅提供 /health 和只读 /bootstrap,没有源码执行或认证 API。
源码迁自 Aster 提交 51cd64e6884c1036564c22e5de582c083d6db142。
| 入口 | 职责 |
| --- | --- |
| [crates](crates/README.md) | HTTP server、兼容管理命令 admin、文件信息 host、显式数据库适配 storage |
| [vendor](vendor/README.md) | 固定 Aster 子模块 |
| [scripts](scripts/README.md) | 验证、HTTP/文件信息冒烟和生产部署 |
| [docs](docs/README.md) | 配置、数据保护和部署契约 |
| [.gitea](.gitea/README.md) | ces-control CI,以及独立手动 CD |
| Dockerfile | 远端 source/ci/build/runtime 阶段 |
| docker-compose*.yml | 兼容既有服务和数据库资源的部署定义 |
| Cargo.toml / Cargo.lock | Rust 1.91+ 宿主工作区和锁定依赖 |
| .env.example / .gitignore / .dockerignore / LICENSE | 示例、排除规则与许可 |
Server 默认监听 127.0.0.1:8080,可由 ASTER_LISTEN 调整;宿主 JSON 存放于 ASTER_STATE_DIR。二进制 server 保留原名。admin 包产出兼容命令 cli,只提供 bootstrap、metadata put/get/import 和 help,供已有部署脚本使用;Endor run/eval/parse 属于独立 Lyra。
Host 和 Server 不连接数据库。Storage 仅在显式 DatabaseConfig 下连接,不创建应用表;真实 PostgreSQL 与 SQLite 测试均由 Hestia CI 承担。生产既有数据库、卷和目录完整保留。
main 推送和 PR 只验证;生产部署须显式手动触发 deploy.yml,且再次验证成功后才构建并发布。保留旧 ASTER_* 变量、Compose 项目/服务、镜像名和生产路径,不把拆仓当成数据迁移。见 [部署](docs/operations/deployment.md)。本地不构建/测试或运行 Docker,不主动查询 CI/部署。CI 使用内置任务凭据检出源码,说明见 [.gitea](.gitea/README.md)。