File tree 3 files changed +23
-4
lines changed
3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 8
8
- " **"
9
9
paths :
10
10
- ' docker/Dockerfile'
11
+ - ' docker/docker-compose.yml'
11
12
- ' docker/compose.sh'
12
13
- ' docker/docker-compose.yml'
13
14
- ' Cargo.toml'
74
75
timeout_minutes : 2
75
76
retry_wait_seconds : 10
76
77
command : linera --wallet docker/wallet.json --storage rocksdb:docker/linera.db sync-balance
77
-
Original file line number Diff line number Diff line change @@ -16,7 +16,25 @@ Grpc = "ClearText"
16
16
Grpc = " ClearText"
17
17
18
18
[[shards ]]
19
- host = " shard"
19
+ host = " docker- shard-1 "
20
20
port = 19100
21
- metrics_host = " shard"
21
+ metrics_host = " docker-shard-1"
22
+ metrics_port = 21100
23
+
24
+ [[shards ]]
25
+ host = " docker-shard-2"
26
+ port = 19100
27
+ metrics_host = " docker-shard-2"
28
+ metrics_port = 21100
29
+
30
+ [[shards ]]
31
+ host = " docker-shard-3"
32
+ port = 19100
33
+ metrics_host = " docker-shard-3"
34
+ metrics_port = 21100
35
+
36
+ [[shards ]]
37
+ host = " docker-shard-4"
38
+ port = 19100
39
+ metrics_host = " docker-shard-4"
22
40
metrics_port = 21100
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ services:
23
23
- linera-shared:/shared
24
24
shard :
25
25
image : linera
26
- container_name : shard
26
+ deploy :
27
+ replicas : 4
27
28
command : [ "./compose-server-entrypoint.sh" ]
28
29
volumes :
29
30
- .:/config
You can’t perform that action at this time.
0 commit comments