upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-21 13:28:37 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-21 13:38:11 +0000
commit46fbcc0a4c8a8dbf6cd345d6eaa6fe33a82100bb (patch)
tree6ab52486732077dbab80907d974c195b1e2f7216 /.env.example
parent780d09b0c1eb823f02fc61de6dbf99b2d5cefaca (diff)
feat: add archive-grasp-services configuration option
Enables relay operators to backup/archive specific GRASP servers by domain. Includes configuration, validation, documentation, and integration tests.
Diffstat (limited to '.env.example')
-rw-r--r--.env.example14
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=