diff options
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.env.example b/.env.example index a19a07d..e152b89 100644 --- a/.env.example +++ b/.env.example | |||
| @@ -191,6 +191,18 @@ | |||
| 191 | # NGIT_ARCHIVE_WHITELIST=bitcoin-core,linux,rust | 191 | # NGIT_ARCHIVE_WHITELIST=bitcoin-core,linux,rust |
| 192 | # NGIT_ARCHIVE_WHITELIST= | 192 | # NGIT_ARCHIVE_WHITELIST= |
| 193 | 193 | ||
| 194 | # Archive GRASP services: comma-separated list of GRASP server domains to archive | ||
| 195 | # Archives all repositories from the specified GRASP server domains | ||
| 196 | # Must be bare domains only (e.g., git.example.com, NOT wss://git.example.com) | ||
| 197 | # Mutually exclusive with NGIT_ARCHIVE_ALL and NGIT_ARCHIVE_WHITELIST | ||
| 198 | # Automatically sets NGIT_ARCHIVE_READ_ONLY to true by default | ||
| 199 | # CLI: --archive-grasp-services <list> | ||
| 200 | # Default: (empty) | ||
| 201 | # Examples: | ||
| 202 | # NGIT_ARCHIVE_GRASP_SERVICES=git.example.com | ||
| 203 | # NGIT_ARCHIVE_GRASP_SERVICES=git.example.com,git.nostr.dev,relay.gitnostr.com | ||
| 204 | # NGIT_ARCHIVE_GRASP_SERVICES= | ||
| 205 | |||
| 194 | # Archive read-only mode (relay is read-only sync of archived repositories) | 206 | # Archive read-only mode (relay is read-only sync of archived repositories) |
| 195 | # When true: | 207 | # When true: |
| 196 | # - NIP-11 includes GRASP-05 in supported_grasps | 208 | # - NIP-11 includes GRASP-05 in supported_grasps |
| @@ -200,7 +212,7 @@ | |||
| 200 | # - Archive mode disabled (standard GRASP-01 operation) | 212 | # - Archive mode disabled (standard GRASP-01 operation) |
| 201 | # | 213 | # |
| 202 | # CLI: --archive-read-only | 214 | # CLI: --archive-read-only |
| 203 | # Default: true if NGIT_ARCHIVE_ALL or NGIT_ARCHIVE_WHITELIST is set, false otherwise | 215 | # Default: true if NGIT_ARCHIVE_ALL, NGIT_ARCHIVE_WHITELIST, or NGIT_ARCHIVE_GRASP_SERVICES is set, false otherwise |
| 204 | # Note: Setting to true without archive config causes startup error | 216 | # Note: Setting to true without archive config causes startup error |
| 205 | # Note: Cannot be used with NGIT_REPOSITORY_WHITELIST (mutually exclusive) | 217 | # Note: Cannot be used with NGIT_REPOSITORY_WHITELIST (mutually exclusive) |
| 206 | # NGIT_ARCHIVE_READ_ONLY= | 218 | # NGIT_ARCHIVE_READ_ONLY= |