Skip to content

Commit

Permalink
Add tip show IPAddress Mapping Docker, Change Version docker compose (#…
Browse files Browse the repository at this point in the history
…462)

* Add tip show IPAddress Mapping Docker, Change Version docker compose

* Update docs/subquery_network/node_operators/indexers/indexer-security-guide.md

* Update docs/subquery_network/node_operators/indexers/indexer-security-guide.md

---------

Co-authored-by: James Bayly <[email protected]>
  • Loading branch information
duchuytb9x and jamesbayly authored Jan 3, 2024
1 parent b620c56 commit 8c1b082
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,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) | `v1.2.0` |
| [subquerynetwork/indexer-proxy](https://hub.docker.com/r/subquerynetwork/indexer-proxy) | `v1.2.0` |
| [subquerynetwork/indexer-coordinator](https://hub.docker.com/r/subquerynetwork/indexer-coordinator) | `v1.4.10` |
| [subquerynetwork/indexer-proxy](https://hub.docker.com/r/subquerynetwork/indexer-proxy) | `v1.3.9` |

::: warning Important

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ Expose the port 8000 allow Only My IP (change 192.168.10.1 to your IP Address):
```bash
ufw route allow proto tcp from 192.168.10.1 to 172.18.0.28 port 8000 comment 'allow indexer_coordinator 8000/tcp indexer_services'
```
:::tip Tip

You can find IPAddress Mapping ex `172.18.0.10`, `172.18.0.28` with
```
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container_id_or_name>
```

:::

Show the current firewall allowed forward rules

Expand Down Expand Up @@ -103,7 +111,7 @@ sudo apt install -y nginx
```shell
# docker-compose.yml
proxy:
image: subquerynetwork/indexer-proxy:v1.2.0
image: subquerynetwork/indexer-proxy:v1.3.9
container_name: indexer_proxy
restart: always
ports:
Expand Down

0 comments on commit 8c1b082

Please sign in to comment.