Record production Studio address and active Goose pool
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Local and 103 runtime topology
|
||||
|
||||
> Last confirmed: 2026-07-30 20:20 CST (goosed native migration).
|
||||
> Portal SSH address and active Goose pool confirmed on 2026-11-17. The nine launchd labels below record the historical native pool.
|
||||
>
|
||||
> This is the current topology source of truth for local Memind and 103 production. Prefer this document over older migration notes. Older architecture documents may contain historical paths from before the MindSpace split.
|
||||
|
||||
@@ -25,15 +25,15 @@ Local Colima may exist for other workloads, but local Memind/goosed is not suppo
|
||||
|
||||
| Item | Value |
|
||||
|------|-------|
|
||||
| Host | `114.85.107.50` |
|
||||
| SSH host | `john@180.156.244.22` |
|
||||
| Live directory | `/Users/john/Project/Memind` |
|
||||
| Service | `cn.tkmind.memind-portal` |
|
||||
| Start script | `/Users/john/Project/Memind/scripts/run-memind-portal-prod.sh` |
|
||||
| Port | `8081` |
|
||||
| Health check | `curl http://127.0.0.1:8081/api/status` |
|
||||
| Upstream goosed pool | `TKMIND_API_TARGETS` → `https://127.0.0.1:18006` … `18014`(9 targets,2026-07-07 确认) |
|
||||
| Active goosed pool | `TKMIND_API_TARGETS` → `https://127.0.0.1:18006`, `https://127.0.0.1:18007` |
|
||||
|
||||
Portal must be released as a runtime artifact. Do not edit source directly on 103.
|
||||
Pass `STUDIO_HOST=john@180.156.244.22` to the Portal release script. Portal must be released as a runtime artifact. Do not edit source directly on 103.
|
||||
|
||||
### User-level canary (when enabled)
|
||||
|
||||
@@ -94,8 +94,8 @@ or whose `gitSha` does not match the runtime artifact manifest.
|
||||
**Critical:** Native goosed uses host PostgreSQL on `127.0.0.1:5432`. If PostgreSQL stops, H5 `/agent/start` hangs ~60s. Recovery:
|
||||
|
||||
```bash
|
||||
ssh john@114.85.107.50 'bash /Users/john/Project/Memind/scripts/ensure-goose-session-postgres.sh'
|
||||
ssh john@114.85.107.50 '/opt/homebrew/opt/postgresql@17/bin/pg_isready -h 127.0.0.1 -p 5432'
|
||||
ssh john@180.156.244.22 'bash /Users/john/Project/Memind/scripts/ensure-goose-session-postgres.sh'
|
||||
ssh john@180.156.244.22 '/opt/homebrew/opt/postgresql@17/bin/pg_isready -h 127.0.0.1 -p 5432'
|
||||
```
|
||||
|
||||
Port layout (native listens directly on host port):
|
||||
@@ -153,18 +153,18 @@ is legacy compatibility/storage context only. If Portal or goosed config still p
|
||||
In particular, check these before debugging missing folders/pages:
|
||||
|
||||
```bash
|
||||
ssh john@114.85.107.50 'grep -E "^(MINDSPACE|MINDSPACE_ROOT|MINDSPACE_SERVICE|MEMIND_SHARED_ROOT)=" /Users/john/Project/Memind/.env /Users/john/Project/goosed-prod/.env 2>/dev/null'
|
||||
ssh john@114.85.107.50 'launchctl print gui/$(id -u)/cn.tkmind.mindspace-service | grep -E "program =|working directory|MINDSPACE|MEMIND_SHARED"'
|
||||
ssh john@114.85.107.50 '/opt/homebrew/bin/docker inspect goosed-prod-1 --format "{{json .Mounts}}"'
|
||||
ssh john@180.156.244.22 'grep -E "^(MINDSPACE|MINDSPACE_ROOT|MINDSPACE_SERVICE|MEMIND_SHARED_ROOT)=" /Users/john/Project/Memind/.env /Users/john/Project/goosed-prod/.env 2>/dev/null'
|
||||
ssh john@180.156.244.22 'launchctl print gui/$(id -u)/cn.tkmind.mindspace-service | grep -E "program =|working directory|MINDSPACE|MEMIND_SHARED"'
|
||||
ssh john@180.156.244.22 '/opt/homebrew/bin/docker inspect goosed-prod-1 --format "{{json .Mounts}}"'
|
||||
```
|
||||
|
||||
## Current verification commands
|
||||
|
||||
```bash
|
||||
ssh john@114.85.107.50 'curl -fsS http://127.0.0.1:8081/api/status'
|
||||
ssh john@114.85.107.50 'curl -fsS http://127.0.0.1:8082/health'
|
||||
ssh john@114.85.107.50 'for p in $(seq 18006 18014); do curl -kfsS https://127.0.0.1:$p/status; echo; done'
|
||||
ssh john@114.85.107.50 'grep ^TKMIND_API_TARGETS= /Users/john/Project/Memind/.env'
|
||||
ssh john@180.156.244.22 'curl -fsS http://127.0.0.1:8081/api/status'
|
||||
ssh john@180.156.244.22 'curl -fsS http://127.0.0.1:8082/health'
|
||||
ssh john@180.156.244.22 'for p in 18006 18007; do curl -kfsS https://127.0.0.1:$p/status; echo; done'
|
||||
ssh john@180.156.244.22 'grep ^TKMIND_API_TARGETS= /Users/john/Project/Memind/.env'
|
||||
```
|
||||
|
||||
## imgproxy
|
||||
@@ -196,8 +196,8 @@ Install on 103 reads Portal `.env` for signing keys and storage root; launchd pl
|
||||
Verify:
|
||||
|
||||
```bash
|
||||
ssh john@114.85.107.50 'curl -fsS http://127.0.0.1:20082/health'
|
||||
ssh john@114.85.107.50 'curl -fsS http://10.10.0.2:20081/health'
|
||||
ssh john@180.156.244.22 'curl -fsS http://127.0.0.1:20082/health'
|
||||
ssh john@180.156.244.22 'curl -fsS http://10.10.0.2:20081/health'
|
||||
curl -fsS https://img.tkmind.cn/health
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user