diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -381,7 +381,7 @@ This means CLI flags always take precedence over environment variables, which ta | |||
| 381 | ngit-grasp --help | 381 | ngit-grasp --help |
| 382 | 382 | ||
| 383 | # Run with CLI flags (override everything else) | 383 | # Run with CLI flags (override everything else) |
| 384 | ngit-grasp --domain relay.example.com --relay-owner-nsec nsec1... --bind-address 0.0.0.0:8080 | 384 | ngit-grasp --domain relay.example.com --relay-owner-nsec nsec1... --bind-address 0.0.0.0:7334 |
| 385 | 385 | ||
| 386 | # Mix CLI flags with environment variables | 386 | # Mix CLI flags with environment variables |
| 387 | NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com | 387 | NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com |
| @@ -399,7 +399,7 @@ NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com | |||
| 399 | | Relay description | `--relay-description` | `NGIT_RELAY_DESCRIPTION` | `Git Nostr Relay - a grasp implementation` | | 399 | | Relay description | `--relay-description` | `NGIT_RELAY_DESCRIPTION` | `Git Nostr Relay - a grasp implementation` | |
| 400 | | Git data path | `--git-data-path` | `NGIT_GIT_DATA_PATH` | `./data/git` (temp dir for memory backend) | | 400 | | Git data path | `--git-data-path` | `NGIT_GIT_DATA_PATH` | `./data/git` (temp dir for memory backend) | |
| 401 | | Relay data path | `--relay-data-path` | `NGIT_RELAY_DATA_PATH` | `./data/relay` (temp dir for memory backend) | | 401 | | Relay data path | `--relay-data-path` | `NGIT_RELAY_DATA_PATH` | `./data/relay` (temp dir for memory backend) | |
| 402 | | Bind address | `--bind-address` | `NGIT_BIND_ADDRESS` | `127.0.0.1:8080` | | 402 | | Bind address | `--bind-address` | `NGIT_BIND_ADDRESS` | `127.0.0.1:7334` (NGIT on phone keypad) | |
| 403 | | Database backend | `--database-backend` | `NGIT_DATABASE_BACKEND` | `lmdb` | | 403 | | Database backend | `--database-backend` | `NGIT_DATABASE_BACKEND` | `lmdb` | |
| 404 | 404 | ||
| 405 | #### GRASP-02 Sync Settings | 405 | #### GRASP-02 Sync Settings |
| @@ -445,7 +445,7 @@ NGIT_RELAY_OWNER_NSEC=nsec1... ngit-grasp --domain relay.example.com | |||
| 445 | # Using environment variables (recommended for production) | 445 | # Using environment variables (recommended for production) |
| 446 | export NGIT_DOMAIN=gitnostr.com | 446 | export NGIT_DOMAIN=gitnostr.com |
| 447 | export NGIT_RELAY_OWNER_NSEC=nsec1... # Or let it auto-generate from .relay-owner.nsec | 447 | export NGIT_RELAY_OWNER_NSEC=nsec1... # Or let it auto-generate from .relay-owner.nsec |
| 448 | export NGIT_BIND_ADDRESS=0.0.0.0:8080 | 448 | export NGIT_BIND_ADDRESS=0.0.0.0:7334 |
| 449 | export NGIT_DATABASE_BACKEND=lmdb | 449 | export NGIT_DATABASE_BACKEND=lmdb |
| 450 | 450 | ||
| 451 | # Optional: Enable proactive sync from a bootstrap relay | 451 | # Optional: Enable proactive sync from a bootstrap relay |