docs: this describes the prod deployment now, not beta
granthi-link has run against the PROD forge since the promotion, but every document in this repo still described the beta tier. Someone following the README would expect their device to land on granthi-beta.shre.ai; it lands on granthi.shre.ai. Two of the statements were not merely stale but false: "tailnet-only" and "Not publicly exposed" — the service has been public at https://granthi-link.shre.ai since 2026-08-23, and that 404 at / (no root route) has twice been misread as an outage. Verified on [email protected], 2026-08-30: gitea_base = http://127.0.0.1:3040 (gitea-central-gitea-1) public_gitea_base = https://granthi.shre.ai systemctl is-active granthi-link -> active https://granthi-link.shre.ai/health -> 200 {"status":"ok","version":"1.1.0"} rate_limit: trust_forwarded_for true, trusted_proxies ["100.107.37.98/32"], no "rules" key -> falls back to DEFAULT_RATE_RULES Docs only. No server, client or test code is touched, and the deployed service is NOT redeployed by this change — it still reports 1.1.0 against a v1.2 repo, which is recorded separately. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L1b6BN9TZVxHkmignRq4p8
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
{
|
||||
"gitea_base": "http://127.0.0.1:3041",
|
||||
"public_gitea_base": "http://100.111.127.127:3041",
|
||||
"_comment_forge": "Values below mirror the LIVE prod deployment (verified 2026-08-30). For the beta tier use gitea_base http://127.0.0.1:3041, public_gitea_base https://granthi-beta.shre.ai, container gitea-beta-gitea-1, creds /opt/gitea-beta/.admin-creds.",
|
||||
"gitea_base": "http://127.0.0.1:3040",
|
||||
"public_gitea_base": "https://granthi.shre.ai",
|
||||
"zitadel_userinfo": "https://id.shre.ai/oidc/v1/userinfo",
|
||||
"admin_token": "MINT-VIA: docker exec -u git gitea-beta-gitea-1 gitea admin user generate-access-token --username nirpa --scopes write:admin,write:user,write:repository --raw",
|
||||
"admin_token": "MINT-VIA: docker exec -u git gitea-central-gitea-1 gitea admin user generate-access-token --username nirpa --scopes write:admin,write:user,write:repository --raw",
|
||||
"admin_login": "nirpa",
|
||||
"admin_password": "FROM /opt/gitea-beta/.admin-creds (required: Gitea 1.27 token minting only works via basic auth + Sudo header)",
|
||||
"admin_password": "FROM shre-cred: superadmin/granthi-link/granthi-prod-forge-admin (required: Gitea 1.27 token minting only works via basic auth + Sudo header). NEVER paste this into chat or a shell history.",
|
||||
"binds": [["127.0.0.1", 3042], ["100.111.127.127", 3042]],
|
||||
"test_mode": false,
|
||||
"rate_limit": {
|
||||
"enabled": true,
|
||||
"trust_forwarded_for": false,
|
||||
"trust_forwarded_for": true,
|
||||
"trusted_proxies": ["100.107.37.98/32"],
|
||||
"rules": {"/v1/link": [5, 3600], "/v1/repos": [60, 3600]}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user