From 173dc1acc910740b3d06b4fe8597dad1069068b3 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Wed, 17 May 2023 14:42:04 +1000 Subject: [PATCH] Show how to run pinned to a specific version --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a42401..f0ba835 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,13 @@ Exposes a multi-tenanted DWN (aka Decentralized Web Node) through a JSON-RPC API This can run on services like AWS, GCP, VPS, home server (with ngrok or cloudflare), fly.io, render.com etc. Ideally the volume is persistent so that data is kept (or has to be synced back from another DWN instance). +## Running a specific version + +Running the command above will run the latest version at the time the image is pulled. If you need to run a specific version (and in many cases this is recommended) you can see the list published images here: https://github.com/TBD54566975/dwn-server/pkgs/container/dwn-server/versions + +To run a specific image: +```docker pull ghcr.io/tbd54566975/dwn-server@sha256:870e0f0f12016e6607060a81ea31458443f7439522fab2688d7a6706ab366c58``` + ## Running Locally for Development ```bash git clone https://github.com/TBD54566975/dwn-server.git @@ -216,4 +223,4 @@ Configuration can be set using environment variables | ------------------------- | ------------------------------------------------------------------------- | ------- | | `DS_PORT` | Port that the server listens on | `3000` | | `DS_MAX_RECORD_DATA_SIZE` | maximum size for `RecordsWrite` data. use `b`, `kb`, `mb`, `gb` for value | `1gb` | -| `DS_WEBSOCKET_SERVER` | whether to enable listening over `ws:`. values: `on`,`off` | `on` | \ No newline at end of file +| `DS_WEBSOCKET_SERVER` | whether to enable listening over `ws:`. values: `on`,`off` | `on` |