diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-12 22:51:43 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-12 22:51:43 +0000 |
| commit | 51751d59f30a0c0f396afd1873ece9f4f77b44de (patch) | |
| tree | cfec6555427f1be38997e00f313549c41dfaa609 /docs/explanation | |
| parent | ab3337d0a3bf25c282f4d48e5d6150cf291f41e5 (diff) | |
Change default port from 8080 to 7334 (NGIT on phone keypad)
- Update default bind address in src/config.rs to 127.0.0.1:7334
- Update all four critical config sources per AGENTS.md:
- src/config.rs (code default and tests)
- .env.example (development template)
- docs/reference/configuration.md (user documentation)
- nix/module.nix (NixOS deployment)
- Update all documentation examples and references:
- README.md (with note about phone keypad mnemonic)
- docs/how-to/*.md (deploy, prometheus-setup, test-compliance)
- docs/explanation/*.md (architecture, comparison)
- docs/learnings/grasp-audit.md
Port 7334 spells NGIT on a phone keypad, making it memorable and
project-specific.
All tests pass (336 lib tests + 51 integration tests).
Diffstat (limited to 'docs/explanation')
| -rw-r--r-- | docs/explanation/architecture.md | 2 | ||||
| -rw-r--r-- | docs/explanation/comparison.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/explanation/architecture.md b/docs/explanation/architecture.md index d2a9bf7..e101425 100644 --- a/docs/explanation/architecture.md +++ b/docs/explanation/architecture.md | |||
| @@ -580,7 +580,7 @@ RUN cargo build --release | |||
| 580 | FROM debian:bookworm-slim | 580 | FROM debian:bookworm-slim |
| 581 | RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* | 581 | RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* |
| 582 | COPY --from=builder /app/target/release/ngit-grasp /usr/local/bin/ | 582 | COPY --from=builder /app/target/release/ngit-grasp /usr/local/bin/ |
| 583 | EXPOSE 8080 | 583 | EXPOSE 7334 |
| 584 | CMD ["ngit-grasp"] | 584 | CMD ["ngit-grasp"] |
| 585 | ``` | 585 | ``` |
| 586 | 586 | ||
diff --git a/docs/explanation/comparison.md b/docs/explanation/comparison.md index 72e49a7..090e0eb 100644 --- a/docs/explanation/comparison.md +++ b/docs/explanation/comparison.md | |||
| @@ -65,7 +65,7 @@ This document compares ngit-grasp (this project) with ngit-relay (the reference | |||
| 65 | ┌────────────── ngit-grasp (Single Binary) ─────────────┐ | 65 | ┌────────────── ngit-grasp (Single Binary) ─────────────┐ |
| 66 | │ │ | 66 | │ │ |
| 67 | │ ┌──────────────────────────────────────────────────┐ │ | 67 | │ ┌──────────────────────────────────────────────────┐ │ |
| 68 | │ │ hyper HTTP Server (:8080) │ │ | 68 | │ │ hyper HTTP Server (:7334) │ │ |
| 69 | │ │ - WebSocket upgrade for Nostr relay │ │ | 69 | │ │ - WebSocket upgrade for Nostr relay │ │ |
| 70 | │ │ - Git Smart HTTP handlers │ │ | 70 | │ │ - Git Smart HTTP handlers │ │ |
| 71 | │ │ - Landing page + metrics endpoint │ │ | 71 | │ │ - Landing page + metrics endpoint │ │ |