nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 783a6e1042c33d36d937bca3ab9968f7fcacb44f
parent 4171a8870e409032a5aecb455557faaf7951fbd4
Author: Greg Heartsfield <scsibug@imap.cc>
Date:   Fri, 31 Dec 2021 15:28:26 -0600

docs: fix docker examples

Diffstat:
MREADME.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -19,9 +19,8 @@ the container image, and map the container's 8080 port to a host port $ docker build -t nostr-rs-relay . $ docker run -it -p 7000:8080 \ - --mount src=$(pwd)/config.toml,target=/usr/src/app/config.toml,type=bind \ - --mount src=$(pwd)/data,target=/usr/src/app/db,type=bind \ - nostr-rs-relay + --mount src=$(pwd)/data,target=/usr/src/app/db,type=bind nostr-rs-relay + [2021-12-31T19:58:31Z INFO nostr_rs_relay] listening on: 0.0.0.0:8080 [2021-12-31T19:58:31Z INFO nostr_rs_relay::db] opened database "/usr/src/app/db/nostr.db" for writing [2021-12-31T19:58:31Z INFO nostr_rs_relay::db] DB version = 2 @@ -50,6 +49,7 @@ be mounted into a docker container like so: $ docker run -it -p 7000:8080 \ --mount src=$(pwd)/config.toml,target=/usr/src/app/config.toml,type=bind \ --mount src=$(pwd)/data,target=/usr/src/app/db,type=bind \ + nostr-rs-relay ``` Options include rate-limiting, event size limits, and network address