Skip to content

Commit

Permalink
chore: Update SubQuery indexer versions to v2.0.7 and v2.1.0 (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
duchuytb9x authored May 20, 2024
1 parent ee80c7c commit 5463ec4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ This will overwrite the existing docker-compose.yml file. Always use the latest

| Service | Version Tag |
| :-------------------------------------------------------------------------------------------------- | :---------- |
| [subquerynetwork/indexer-coordinator](https://hub.docker.com/r/subquerynetwork/indexer-coordinator) | `v2.0.0` |
| [subquerynetwork/indexer-proxy](https://hub.docker.com/r/subquerynetwork/indexer-proxy) | `v2.0.0` |
| [subquerynetwork/indexer-coordinator](https://hub.docker.com/r/subquerynetwork/indexer-coordinator) | `v2.0.7` |
| [subquerynetwork/indexer-proxy](https://hub.docker.com/r/subquerynetwork/indexer-proxy) | `v2.1.0` |

::: warning Important

Expand Down
16 changes: 8 additions & 8 deletions docs/subquery_network/node_operators/setup/security-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,22 +117,22 @@ sudo apt install -y nginx
```shell
# docker-compose.yml
proxy:
image: subquerynetwork/indexer-proxy:v2.0.0
image: subquerynetwork/indexer-proxy:v2.1.0
container_name: indexer_proxy
restart: always
ports:
- 1080:1080
command:
- --host=0.0.0.0
- --port=1080
- --auth
- --jwt-secret=<...>
- --secret-key=<...>
- --service-url=http://indexer_coordinator:8000
- --network=mainnet # network type, need to be same with coordinator
- --network-endpoint=https://polygon-rpc.com
- --token-duration=24 # query auth token validity [hours]
- --network=mainnet # network type, need to be same with coordinator
- --jwt-secret=<a random str> # change to any random string value
- --secret-key=<a random str> # keep same with coordinator secret key
- --coordinator-endpoint=http://indexer_coordinator:8000
- --network-endpoint=https://mainnet.base.org # network endpoint, can choose your own endpoint
- --token-duration=24 # query auth token validity [hours]
- --redis-endpoint=redis://indexer_cache
- --metrics-token=thisismyAuthtoken # change to any random string value
```

then restart the `indexer-proxy` container
Expand Down

0 comments on commit 5463ec4

Please sign in to comment.