upleb.uk

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

summaryrefslogtreecommitdiff
path: root/.env.example
blob: 0a27bbb9cabeae7d60e169a405d58a5fc3cb8d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ngit-grasp Configuration

# Domain where this instance is hosted (used in GRASP validation)
NGIT_DOMAIN=gitnostr.com

# Owner's npub (for relay info)
NGIT_OWNER_NPUB=npub1...

# Relay information (NIP-11)
NGIT_RELAY_NAME=My GRASP Relay
NGIT_RELAY_DESCRIPTION=A GRASP-compliant Git relay with Nostr authorization

# Storage paths
NGIT_GIT_DATA_PATH=./data/git
NGIT_RELAY_DATA_PATH=./data/relay

# Database backend (memory, nostrdb, lmdb)
# - memory: In-memory database (default, fastest, no persistence)
# - nostrdb: NostrDB backend (persistent, optimized for Nostr) [Not yet implemented]
# - lmdb: LMDB backend (persistent, general purpose) [Not yet implemented]
NGIT_DATABASE_BACKEND=memory

# Server configuration
NGIT_BIND_ADDRESS=127.0.0.1:8080

# Logging
RUST_LOG=info

# Optional: Proactive sync settings (GRASP-02)
# NGIT_PROACTIVE_SYNC_ENABLED=true
# NGIT_PROACTIVE_SYNC_INTERVAL_SECS=3600

# Optional: Archive mode (GRASP-05)
# NGIT_ARCHIVE_MODE=false