Skip to content

Commit

Permalink
Show how to run pinned to a specific version
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneale authored May 17, 2023
1 parent 5178a0c commit 173dc1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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` |
| `DS_WEBSOCKET_SERVER` | whether to enable listening over `ws:`. values: `on`,`off` | `on` |

0 comments on commit 173dc1a

Please sign in to comment.