diff --git a/node_config/node/topos-node-1/config.toml b/node_config/node/topos-node-1/config.toml new file mode 100644 index 0000000..18ddd2f --- /dev/null +++ b/node_config/node/topos-node-1/config.toml @@ -0,0 +1,22 @@ +[base] +name = "topos-node-1" +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-1/tcp/9090"] +is-bootnode = true diff --git a/node_config/node/boot/config.toml b/node_config/node/topos-node-2/config.toml similarity index 69% rename from node_config/node/boot/config.toml rename to node_config/node/topos-node-2/config.toml index 103166c..75c3d04 100644 --- a/node_config/node/boot/config.toml +++ b/node_config/node/topos-node-2/config.toml @@ -1,5 +1,5 @@ [base] -name = "boot" +name = "topos-node-2" role = "validator" subnet = "topos" @@ -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-2/tcp/9090"] diff --git a/node_config/node/topos-node-3/config.toml b/node_config/node/topos-node-3/config.toml new file mode 100644 index 0000000..65e790b --- /dev/null +++ b/node_config/node/topos-node-3/config.toml @@ -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"] diff --git a/node_config/node/topos-node-4/config.toml b/node_config/node/topos-node-4/config.toml new file mode 100644 index 0000000..01f6526 --- /dev/null +++ b/node_config/node/topos-node-4/config.toml @@ -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"] diff --git a/subnet-topos.yml b/subnet-topos.yml index cc93b5d..654f53b 100644 --- a/subnet-topos.yml +++ b/subnet-topos.yml @@ -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" @@ -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" @@ -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" @@ -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: