Skip to content

Commit 225250e

Browse files
authored
deploy-validator.sh script uses 4 shards. (#2729)
1 parent 3af825e commit 225250e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

scripts/deploy-validator.sh

+21-2
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,29 @@ internal_port = 20100
7474
Grpc = "ClearText"
7575
[internal_protocol]
7676
Grpc = "ClearText"
77+
78+
[[shards]]
79+
host = "docker-shard-1"
80+
port = $PORT
81+
metrics_host = "docker-shard-1"
82+
metrics_port = $METRICS_PORT
83+
84+
[[shards]]
85+
host = "docker-shard-2"
86+
port = $PORT
87+
metrics_host = "docker-shard-2"
88+
metrics_port = $METRICS_PORT
89+
90+
[[shards]]
91+
host = "docker-shard-3"
92+
port = $PORT
93+
metrics_host = "docker-shard-3"
94+
metrics_port = $METRICS_PORT
95+
7796
[[shards]]
78-
host = "shard"
97+
host = "docker-shard-4"
7998
port = $PORT
80-
metrics_host = "shard"
99+
metrics_host = "docker-shard-4"
81100
metrics_port = $METRICS_PORT
82101
EOL
83102

0 commit comments

Comments
 (0)