Râu Cao 14c5dd22d6
All checks were successful
continuous-integration/drone/push Build is passing
Add strfry doc draft
2024-08-19 14:37:54 +02:00

925 B

strfry (nostr relay)

LDAP policy

...

Useful scripts

Syncing events for all local nostr users from a remote relay

You can sync all events of all local users with a pubkey stored in LDAP from a specified remote relay to the local relay with the strfry-sync.ts script:

deno run -A /opt/strfry-sync.ts wss://relay.example.com

Doing the same with Docker Compose (great for seeding data to your local relay in development):

docker compose run strfry deno run -A /opt/strfry-sync.ts wss://relay.example.com

Docker image

In order to use the LDAP policy with Docker, you will need Deno installed in your strfry container. We provide a custom Docker image for strfry with Deno included (which we use in development):