From 783a6e1042c33d36d937bca3ab9968f7fcacb44f Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Fri, 31 Dec 2021 15:28:26 -0600 Subject: [PATCH] docs: fix docker examples --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5f8c8b6..e92970f 100644 --- 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