Sync docs, add verae-bootstrap, and run the full stack on NS1.
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
Docs match current modules: public portal is access-web /portal/, IAM and keep are listed, edge is loopback. Bootstrap clones every Forgejo repo and installs deps per server type. Fleet starts IAM and staff-session. NS1 all-in-one uses edge :13000 because :3000 is taken; archive workers stay with keep.
This commit is contained in:
parent
baaf1c2275
commit
03f557203a
42 changed files with 481 additions and 13 deletions
|
|
@ -4,7 +4,10 @@
|
|||
Humans / Zapier cloud
|
||||
│ HTTPS x-api-key
|
||||
▼
|
||||
zappier-edge :3000 (meter, portal, admin, Stripe)
|
||||
access-web :3021/portal access-zapier :3024 access-api :3022
|
||||
│ │
|
||||
▼ ▼
|
||||
zappier-edge loopback :3000 (meter, admin, Stripe; not a public door)
|
||||
│ HTTPS internal
|
||||
▼
|
||||
middleware-http :3100 (/zapier/v1)
|
||||
|
|
@ -34,6 +37,9 @@ Prefix `ssh://git@git.georgelambert.org:2223/marchon/<name>.git` (SSH **2223**).
|
|||
| Archive merge | `verae-archive-aggregator` | https://zapier.georgelambert.org/packages/verae-archive-aggregator/README.pdf |
|
||||
| Splitter | `verae-request-splitter` | https://zapier.georgelambert.org/packages/verae-request-splitter/README.pdf |
|
||||
| Replica floors | `verae-fleet` | https://zapier.georgelambert.org/packages/verae-fleet/README.pdf |
|
||||
| Keep-alive | `verae-keep` | https://zapier.georgelambert.org/packages/verae-keep/README.pdf |
|
||||
| Clone + deps | `verae-bootstrap` | https://zapier.georgelambert.org/packages/verae-bootstrap/README.pdf |
|
||||
| Staff IAM | `verae-staff-iam` | https://zapier.georgelambert.org/packages/verae-staff-iam/README.pdf |
|
||||
| This install guide | `verae-ops` | https://zapier.georgelambert.org/packages/verae-ops/README.pdf |
|
||||
|
||||
Optional: `verae-activate` (tiny pushable app), `verae-zapier-simulator` (trace), `overview`, `zapier-docs-master`, `zapier-user-docs`, `verae-nats-process`.
|
||||
|
|
@ -53,8 +59,11 @@ Optional: `verae-activate` (tiny pushable app), `verae-zapier-simulator` (trace)
|
|||
|
||||
| Port | Bind | Process |
|
||||
|------|------|---------|
|
||||
| 3000 | public or docker publish | zappier-edge |
|
||||
| 3000 | **loopback** (lab) | zappier-edge (admin); public portal is `:3021` |
|
||||
| 3021 | public | access-web `/portal/` |
|
||||
| 3028 | private/LAN | staff IAM |
|
||||
| 3100 | public or docker publish | middleware |
|
||||
| 3860 | loopback | verae-keep |
|
||||
| 4222 | **private only** | NATS client |
|
||||
| 6222 | **private only** | NATS cluster |
|
||||
| 8222 | private / localhost | NATS monitor |
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ NS1-style: a box that already runs NATS on **127.0.0.1:4222** (never a public bi
|
|||
2. `nats-server -js` listening **127.0.0.1:4222** only (cluster later on a private NIC).
|
||||
3. Clone `zappier-edge`, `verae-middleware`, `verae-fleet`.
|
||||
4. systemd units (below) or `verae-fleet serve` which keepFloor-spawns workers.
|
||||
5. Caddy/nginx for public HTTPS to `:3000` / `:3100`.
|
||||
6. Operator console: `127.0.0.1:3850` — SSH tunnel if you are off-box:
|
||||
`ssh -L 3850:127.0.0.1:3850 -L 4222:127.0.0.1:4222 user@ns1`
|
||||
5. Caddy/nginx for public HTTPS to **access-web `:3021/portal/`** and **access-zapier `:3024`**. zappier-edge stays loopback (`:3000`, or `:13000` on NS1 if `:3000` is already taken).
|
||||
6. Operator console: `0.0.0.0:3850`. `verae-keep` (`:3860`) + `watch` (`:3861`) + `guard.sh` keep workers up unless you paused/stopped them in the console.
|
||||
7. Clone/install: [verae-bootstrap](https://git.georgelambert.org/marchon/verae-bootstrap) type `ns1-all-in-one`.
|
||||
|
||||
## systemd (middleware)
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,10 @@ This is the **top document** for install, first-up, and monitoring. Platform-spe
|
|||
| **access-authz** | NATS authorization step for every access plane | `:3020` |
|
||||
| **access-web / api / leaf / zapier / staff** | Public HTTP doors | `:3021–:3025` |
|
||||
| **identity** | `veraeUserId` bind/lookup | `:3026` |
|
||||
| **zappier-edge** | Identity cache, Stripe, admin, portal (loopback only) | `127.0.0.1:3000` |
|
||||
| **zappier-edge** | Identity cache, Stripe, admin (loopback only) | `127.0.0.1:3000` (lab; NS1 all-in-one uses `:13000` if `:3000` is taken) |
|
||||
| **staff-iam** | Named staff users, roles, sessions | `:3028` |
|
||||
| **staff-session** | Staff cookie (proxies IAM) | `:3027` |
|
||||
| **verae-keep** | Restart crashed units unless admin paused/stopped | keep `:3860`, watch `:3861` |
|
||||
| **jobs-events** | Mailbox `verae.zapier.jobs.events` | `:3030` |
|
||||
| **account-balance** | NATS prepaid balances (SoT) | `:3010` |
|
||||
| **customer-service** | CS credit additions + review | `:3011` |
|
||||
|
|
@ -50,8 +53,9 @@ curl -fsS http://127.0.0.1:3100/health # middleware
|
|||
|
||||
Open:
|
||||
|
||||
- Customer portal: http://127.0.0.1:3000/portal — sign up, copy `x-api-key`, **Statement** tab
|
||||
- Admin: http://127.0.0.1:3000/admin — **Statement** per customer
|
||||
- Customer portal (public door): http://127.0.0.1:3021/portal/ — sign up, copy `x-api-key`, **Statement** tab
|
||||
- Loopback edge admin: http://127.0.0.1:3000/admin — **Statement** per customer (not a public door)
|
||||
- Staff IAM: http://127.0.0.1:3028/
|
||||
- CS review: http://127.0.0.1:3011/
|
||||
- Sales review: http://127.0.0.1:3012/
|
||||
- Accounting review/export: http://127.0.0.1:3013/
|
||||
|
|
@ -68,7 +72,7 @@ cd "$MONOREPO/packages/verae-fleet"
|
|||
node src/cli.js serve
|
||||
```
|
||||
|
||||
http://127.0.0.1:3850/ — Fleet (green/yellow/red), Trace, Docs. Tree-node **min 3**; pause does not count.
|
||||
http://0.0.0.0:3850/ — Fleet (green/yellow/red), Trace, Docs. Tree-node **min 3**; pause does not count. On NS1, `verae-keep` restarts workers if they crash unless you paused/stopped them here.
|
||||
|
||||
```bash
|
||||
node src/cli.js status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue