diff options
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..291d00a --- /dev/null +++ b/.env.example | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | # ngit-grasp Configuration | ||
| 2 | |||
| 3 | # Domain where this instance is hosted (used in GRASP validation) | ||
| 4 | NGIT_DOMAIN=gitnostr.com | ||
| 5 | |||
| 6 | # Owner's npub (for relay info) | ||
| 7 | NGIT_OWNER_NPUB=npub1... | ||
| 8 | |||
| 9 | # Relay information (NIP-11) | ||
| 10 | NGIT_RELAY_NAME=My GRASP Relay | ||
| 11 | NGIT_RELAY_DESCRIPTION=A GRASP-compliant Git relay with Nostr authorization | ||
| 12 | |||
| 13 | # Storage paths | ||
| 14 | NGIT_GIT_DATA_PATH=./data/git | ||
| 15 | NGIT_RELAY_DATA_PATH=./data/relay | ||
| 16 | |||
| 17 | # Server configuration | ||
| 18 | NGIT_BIND_ADDRESS=127.0.0.1:8080 | ||
| 19 | |||
| 20 | # Logging | ||
| 21 | RUST_LOG=info | ||
| 22 | |||
| 23 | # Optional: Proactive sync settings (GRASP-02) | ||
| 24 | # NGIT_PROACTIVE_SYNC_ENABLED=true | ||
| 25 | # NGIT_PROACTIVE_SYNC_INTERVAL_SECS=3600 | ||
| 26 | |||
| 27 | # Optional: Archive mode (GRASP-05) | ||
| 28 | # NGIT_ARCHIVE_MODE=false | ||