forked from molecule-ai/molecule-core
docs(gate-5): document Temporal dependency in CLAUDE.md/PLAN.md
This commit is contained in:
parent
97a2dabe8c
commit
708eb73fd8
@ -35,10 +35,16 @@ Four main components:
|
||||
|
||||
### Infrastructure
|
||||
```bash
|
||||
./infra/scripts/setup.sh # Start Postgres, Redis, Langfuse; run migrations
|
||||
./infra/scripts/setup.sh # Start Postgres, Redis, Langfuse, Temporal; run migrations
|
||||
./infra/scripts/nuke.sh # Tear down everything, remove volumes
|
||||
```
|
||||
|
||||
Infra services (via `docker-compose.infra.yml`, all attached to the shared `molecule-monorepo-net` network — `setup.sh` creates it idempotently):
|
||||
- **Postgres** `:5432` — primary datastore (also backs Langfuse + Temporal via separate DBs)
|
||||
- **Redis** `:6379` — pub/sub, heartbeat TTLs
|
||||
- **Langfuse** `:3001` — LLM trace viewer (backed by Clickhouse)
|
||||
- **Temporal** `:7233` (gRPC) + `:8233` (Web UI) — durable workflow engine for `workspace-template/builtin_tools/temporal_workflow.py`. **Dev-only posture:** the auto-setup image runs with no auth on `0.0.0.0:7233`; production deployments must gate access via mTLS or an API key / reverse proxy.
|
||||
|
||||
### Platform (Go)
|
||||
```bash
|
||||
cd platform
|
||||
|
||||
10
PLAN.md
10
PLAN.md
@ -317,3 +317,13 @@ Deferred, not blocking:
|
||||
leaves copied skill dirs behind. Low user impact.
|
||||
- **Shared org-template `system-prompt.md` via `_shared/`** — DRY molecule-dev
|
||||
and molecule-worker-gemini. Drift risk; revisit at 3+ orgs.
|
||||
|
||||
## Infra footnote — Temporal
|
||||
|
||||
`docker-compose.infra.yml` now includes Temporal (`:7233` gRPC, `:8233` Web
|
||||
UI) backing `workspace-template/builtin_tools/temporal_workflow.py` for
|
||||
durable long-running agent workflows. All infra services share the
|
||||
`molecule-monorepo-net` Docker network, which `infra/scripts/setup.sh`
|
||||
creates idempotently. Temporal currently runs with **no auth** on
|
||||
`0.0.0.0:7233` — dev-only; any production deployment must front it with
|
||||
mTLS, API keys, or a reverse proxy before exposing the cluster.
|
||||
|
||||
@ -253,6 +253,10 @@ git clone https://github.com/Molecule-AI/molecule-monorepo.git
|
||||
cd molecule-monorepo
|
||||
|
||||
./infra/scripts/setup.sh
|
||||
# Boots Postgres (:5432), Redis (:6379), Langfuse (:3001),
|
||||
# and Temporal (:7233 gRPC, :8233 UI) on the shared
|
||||
# `molecule-monorepo-net` Docker network. Temporal runs with
|
||||
# no auth on localhost — dev-only; production must gate it.
|
||||
|
||||
cd platform
|
||||
go run ./cmd/server
|
||||
|
||||
@ -252,6 +252,10 @@ git clone https://github.com/Molecule-AI/molecule-monorepo.git
|
||||
cd molecule-monorepo
|
||||
|
||||
./infra/scripts/setup.sh
|
||||
# 启动 Postgres (:5432)、Redis (:6379)、Langfuse (:3001)
|
||||
# 以及 Temporal (:7233 gRPC, :8233 UI),全部挂在共享的
|
||||
# `molecule-monorepo-net` Docker 网络上。Temporal 默认无鉴权,
|
||||
# 仅用于本地开发;生产环境必须加 mTLS / API Key。
|
||||
|
||||
cd platform
|
||||
go run ./cmd/server
|
||||
|
||||
Loading…
Reference in New Issue
Block a user