Skip to content

Commit

Permalink
Add private RPC instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
skynetcap committed Jul 3, 2022
1 parent f9fc503 commit c79ea7f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit c79ea7f

Please sign in to comment.