Operate Nexus
Store Nexus tokens in the deployment secret manager. Do not print, commit, or expose NEXUS_MCP_AUTH_TOKEN, webhook secrets, or provider keys.
Service contract
Section titled “Service contract”| Field | Verified value |
|---|---|
| Purpose | Interactive repository graph, indexed catalogue, and optional MCP access. |
| Audience | Readers inspect public graphs. Authorized maintainers manage repositories and MCP connections. |
| Public boundary | The public hostname must pass through the configured proxy trust boundary. Do not publish port 8452 directly. |
| Local boundary | The Nexus container exposes internal port 8452 to the Compose edge network; production Compose publishes no host port. Data lives below GITNEXUS_HOME. |
| Authentication | Caddy and Authentik forward-auth protect every public route. MCP can require an additional bearer token. |
| Persistent state | nexus-data persists /data/gitnexus, including indexes and generated code documentation. |
| Container image | ghcr.io/cyber-nomad-collective/beskid-nexus. |
| Health check | Internal GET /api/health on container port 8452. |
| Deployment owner | The Nexus repository builds its service image. The platform lane supplies the runtime boundary. |
| Secret source | Deployment secrets include optional MCP, webhook, and OpenRouter values. Keep them in the configured lane store. |
| Monitoring | Health, index completion, and graph-load results show separate failure boundaries. |
| Recovery | Restore nexus-data, verify the proxy boundary, and re-index only after the stored catalogue is safe. |
Prerequisites
Section titled “Prerequisites”Confirm the repository graph task and the configured GITNEXUS_HOME. Confirm that the forward-auth proxy protects the public hostname.
Actions
Section titled “Actions”- Inspect the Nexus container’s internal
/api/healthhealthcheck on port8452against the service contract. - Open the proxy-protected hostname.
- Verify the repository catalogue.
- Run one authorized catalogue analysis.
- Wait for its terminal result.
Expected result
Section titled “Expected result”The internal /api/health check succeeds. The selected repository graph loads after Caddy forward-auth and Authentik sign-in, and separate application permissions control management functions.
Recovery
Section titled “Recovery”If health fails, inspect the image and nexus-data mount. If only sign-in fails, restore the proxy header contract and redeploy. If an index is corrupt, restore its data or remove only that verified index, then run a controlled re-index.
Next task
Section titled “Next task”For signed-in graph reading, see Explore Nexus. For protected operations, review service containers and volumes.