From 8c1b0827cbd86d5ec48ca0509c8f68f43a5f5f86 Mon Sep 17 00:00:00 2001 From: duchuytb9x <32235812+duchuytb9x@users.noreply.github.com> Date: Wed, 3 Jan 2024 19:16:09 +0700 Subject: [PATCH] Add tip show IPAddress Mapping Docker, Change Version docker compose (#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 <46693720+jamesbayly@users.noreply.github.com> --- .../node_operators/indexers/become-an-indexer.md | 4 ++-- .../node_operators/indexers/indexer-security-guide.md | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/subquery_network/node_operators/indexers/become-an-indexer.md b/docs/subquery_network/node_operators/indexers/become-an-indexer.md index 2674495a46b..35ba71fffc7 100644 --- a/docs/subquery_network/node_operators/indexers/become-an-indexer.md +++ b/docs/subquery_network/node_operators/indexers/become-an-indexer.md @@ -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 diff --git a/docs/subquery_network/node_operators/indexers/indexer-security-guide.md b/docs/subquery_network/node_operators/indexers/indexer-security-guide.md index ead24d518e1..f778f52efbf 100644 --- a/docs/subquery_network/node_operators/indexers/indexer-security-guide.md +++ b/docs/subquery_network/node_operators/indexers/indexer-security-guide.md @@ -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}}' +``` + +::: Show the current firewall allowed forward rules @@ -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: