Skip to content

Commit

Permalink
Add relays in deployment & update readme (#178)
Browse files Browse the repository at this point in the history
* add relays in deployment & update readme

* Delete bad endpoint
  • Loading branch information
Marketen authored Sep 19, 2023
1 parent 4d8c68b commit 8f25457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,15 @@ $ sudo openssl rand -hex 32 > jwtsecret
$ chmod 777 teku
```

Store in `.env` so that it's picked up by `docker-compose`
Store in `.env` so that it's picked up by `docker-compose`. Notice that REGISTERED_RELAYS should be a comma separated list of relays that
operate in the same network that the oracle is running on. The following is an example for goerli:

```
export NETWORK=goerli
export POOL_ADDRESS=0xF21fbbA423f3a893A2402d68240B219308AbCA46
export UPDATER_KEYSTORE_PASS=xxx
export REGISTERED_RELAYS=https://builder-relay-goerli.flashbots.net,https://bloxroute.max-profit.builder.goerli.blxrbdn.com,https://relay-goerli.edennetwork.io,https://goerli-relay.securerpc.com
```

And manually modify the following placeholders in `deployments/monitoring/prometheus-config.yml`:
* Change `OPERATOR_PLACEHOLDER` for your identifier eg `monitor: "oracle_someentity"`.
* Replace the `URL_PLACEHOLDER` (or whole url) to the one you want to push metrics to.
Expand Down
1 change: 1 addition & 0 deletions deployments/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ services:
#- --updater-keystore-pass=${UPDATER_KEYSTORE_PASS}
- --dry-run
- --log-level=debug
- --relayers-endpoints=${REGISTERED_RELAYS}
ports:
- 7300:7300
volumes:
Expand Down

0 comments on commit 8f25457

Please sign in to comment.