|
16 | 16 |
|
17 | 17 | # Comma-separated list of <secret>=<scope>|<scope>|... entries. |
18 | 18 | # Generate the secret with: openssl rand -hex 32 |
19 | | -# Scopes: graph:read, graph:write, context:read, admin:read, * |
| 19 | +# Scopes: graph:read, graph:write, context:read, admin:read, |
| 20 | +# federation:write, * |
20 | 21 | # REQUIRED when RUSTY_RED_REQUIRE_AUTH=true (the default). |
21 | 22 | RUSTY_RED_API_TOKENS= |
22 | 23 |
|
23 | | -# Refuse unauthenticated requests on /v1/* and /mcp. Keep true on any |
24 | | -# endpoint reachable from outside a trusted network. |
| 24 | +# Refuse unauthenticated requests on search, crawl, federation, /v1/*, |
| 25 | +# /mcp, and metrics. Keep true on any endpoint reachable from outside a |
| 26 | +# trusted network. |
25 | 27 | RUSTY_RED_REQUIRE_AUTH=true |
26 | 28 |
|
27 | 29 | # Path to the persistent volume mount. Must match the volume's mount |
@@ -50,6 +52,34 @@ RUSTY_RED_HOST=[::] |
50 | 52 | # Public base URL; appears in the OpenAPI servers block. |
51 | 53 | # RUSTY_RED_PUBLIC_URL= |
52 | 54 |
|
| 55 | +# ============================================================ |
| 56 | +# RustyWeb Web Commons federation |
| 57 | +# ============================================================ |
| 58 | + |
| 59 | +# Enabled by default. Default crawls are federable unless request scope |
| 60 | +# opts out; outbound submission happens only when hub URL + private key |
| 61 | +# are set. |
| 62 | +RUSTY_RED_FEDERATE=true |
| 63 | + |
| 64 | +# Hub base URL or full /federate/submit URL. |
| 65 | +# RUSTY_RED_FEDERATE_HUB_URL= |
| 66 | + |
| 67 | +# Bearer token for the hub. Token needs federation:write on the hub. |
| 68 | +# RUSTY_RED_FEDERATE_TOKEN= |
| 69 | + |
| 70 | +# 32-byte Ed25519 private key as hex. Required to submit signed fragments. |
| 71 | +# RUSTY_RED_FEDERATE_PRIVATE_KEY= |
| 72 | + |
| 73 | +# Optional Ed25519 public key hex. If set, it must match the private key. |
| 74 | +# RUSTY_RED_FEDERATE_PEER_ID= |
| 75 | + |
| 76 | +# Include seeds, budget, and actor id in submitted fragments. Off by |
| 77 | +# default so content+links can federate without seed-selection provenance. |
| 78 | +RUSTY_RED_FEDERATE_PROVENANCE=false |
| 79 | + |
| 80 | +# Bounded text prefix per federated content snapshot. |
| 81 | +RUSTY_RED_FEDERATE_SNAPSHOT_TEXT_BYTES=4096 |
| 82 | + |
53 | 83 | # ============================================================ |
54 | 84 | # Storage mode and durability |
55 | 85 | # ============================================================ |
|
0 commit comments