Hub runtime: allocate port 8788, add Go skeleton and Docker deployment

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-10-10 17:11:52 +11:00
parent 26cb4d324d
commit cd56e69a2f
10 changed files with 185 additions and 7 deletions

View File

@@ -46,8 +46,7 @@ endpoint with the shape in `docs/ask-contract.md`.
### Base
- Base URL: `http://192.168.20.13:8787` (port 8787 is the proposed default,
`HUB_PORT`). Confirm the port against the house port list before deploy.
- Base URL: `http://192.168.20.13:8788` (the allocated Hub port, `HUB_PORT`; recorded in `docs/outline/02-config-and-env.md`).
- Plain HTTP on the private LAN for v1. Put a TLS reverse proxy in front later.
- Request and response body: JSON, `application/json; charset=utf-8`.
- Maximum request body: 64 KiB. Larger bodies get `413`.