Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
chore: update node configuration addressing
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Jan 10, 2024
1 parent e5afbd1 commit d8beb1b
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[base]
name = "boot"
name = "topos-node-1"
role = "validator"
subnet = "topos"

Expand All @@ -13,6 +13,9 @@ price-limit="0"
db-path = "tce_rocksdb"
graphql-api-addr = "0.0.0.0:4030"
grpc-api-addr = "0.0.0.0:1340"
libp2p-api-addr = "0.0.0.0:9090"
metrics-api-addr = "0.0.0.0:3030"
minimum-tce-cluster-size = 3

[tce.p2p]
listen_addresses = ["/ip4/0.0.0.0/tcp/9090"]
public_addresses = ["/dns4/topos-node-1/tcp/9090"]
21 changes: 21 additions & 0 deletions node_config/node/topos-node-2/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[base]
name = "topos-node-2"
role = "validator"
subnet = "topos"

[edge]
libp2p="0.0.0.0:1478"
jsonrpc="0.0.0.0:8545"
prometheus="0.0.0.0:5001"
price-limit="0"

[tce]
db-path = "tce_rocksdb"
graphql-api-addr = "0.0.0.0:4030"
grpc-api-addr = "0.0.0.0:1340"
metrics-api-addr = "0.0.0.0:3030"
minimum-tce-cluster-size = 3

[tce.p2p]
listen_addresses = ["/ip4/0.0.0.0/tcp/9090"]
public_addresses = ["/dns4/topos-node-2/tcp/9090"]
21 changes: 21 additions & 0 deletions node_config/node/topos-node-3/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[base]
name = "topos-node-3"
role = "validator"
subnet = "topos"

[edge]
libp2p="0.0.0.0:1478"
jsonrpc="0.0.0.0:8545"
prometheus="0.0.0.0:5001"
price-limit="0"

[tce]
db-path = "tce_rocksdb"
graphql-api-addr = "0.0.0.0:4030"
grpc-api-addr = "0.0.0.0:1340"
metrics-api-addr = "0.0.0.0:3030"
minimum-tce-cluster-size = 3

[tce.p2p]
listen_addresses = ["/ip4/0.0.0.0/tcp/9090"]
public_addresses = ["/dns4/topos-node-2/tcp/9090"]
21 changes: 21 additions & 0 deletions node_config/node/topos-node-4/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[base]
name = "topos-node-4"
role = "validator"
subnet = "topos"

[edge]
libp2p="0.0.0.0:1478"
jsonrpc="0.0.0.0:8545"
prometheus="0.0.0.0:5001"
price-limit="0"

[tce]
db-path = "tce_rocksdb"
graphql-api-addr = "0.0.0.0:4030"
grpc-api-addr = "0.0.0.0:1340"
metrics-api-addr = "0.0.0.0:3030"
minimum-tce-cluster-size = 3

[tce.p2p]
listen_addresses = ["/ip4/0.0.0.0/tcp/9090"]
public_addresses = ["/dns4/topos-node-4/tcp/9090"]
8 changes: 4 additions & 4 deletions subnet-topos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
condition: service_completed_successfully
volumes:
- topos-data:/data
- ./node_config/node/boot/config.toml:/data/node/node-1/config.toml:ro
- ./node_config/node/topos-node-1/config.toml:/data/node/node-1/config.toml:ro
restart: on-failure
ports:
- "${TOPOS_HOST_PORT}:8545"
Expand Down Expand Up @@ -127,7 +127,7 @@ services:
condition: service_healthy
volumes:
- topos-data:/data
- ./node_config/node/boot/config.toml:/data/node/node-2/config.toml:ro
- ./node_config/node/topos-node-2/config.toml:/data/node/node-2/config.toml:ro
restart: on-failure
ports:
- "9090"
Expand Down Expand Up @@ -167,7 +167,7 @@ services:
condition: service_healthy
volumes:
- topos-data:/data
- ./node_config/node/boot/config.toml:/data/node/node-3/config.toml:ro
- ./node_config/node/topos-node-3/config.toml:/data/node/node-3/config.toml:ro
restart: on-failure
ports:
- "9090"
Expand Down Expand Up @@ -207,7 +207,7 @@ services:
condition: service_healthy
volumes:
- topos-data:/data
- ./node_config/node/boot/config.toml:/data/node/node-4/config.toml:ro
- ./node_config/node/topos-node-4/config.toml:/data/node/node-4/config.toml:ro
- ./scripts/polygon_edge_healthcheck.sh:/polygon_edge_healthcheck.sh:ro
restart: on-failure
ports:
Expand Down

0 comments on commit d8beb1b

Please sign in to comment.