From c79ea7f1582933e7418c713046f148300a0b4ebd Mon Sep 17 00:00:00 2001 From: skynetcap <100323448+skynetcap@users.noreply.github.com> Date: Sat, 2 Jul 2022 20:35:48 -0700 Subject: [PATCH] Add private RPC instructions --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 565085e..05a8299 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,18 @@ docker build -t serum-data . docker run -p 8080:8080 serum-data ``` +With custom Solana RPC: +```dockerfile +docker build -t serum-data . +docker run -e OPENSERUM_ENDPOINT="http://localhost:8899/" -p 8080:8080 serum-data +``` + +With one of the preset RPC validators (GENESYSGO, PROJECT_SERUM). Default is GENEYSGO: +```dockerfile +docker build -t serum-data . +docker run -e OPENSERUM_ENDPOINT=PROJECT_SERUM -p 8080:8080 serum-data +``` + ## Hosting - Ubuntu 20.04 (Docker, Nginx, UFW) Full setup flow for a new Ubuntu server. This example is for the `openserum.io` domain, but will work with any A/CNAME DNS record.