fix(compose): invoke shard mode through sim binary
Co-Authored-By: GitHub Copilot <noreply@github.com>
This commit is contained in:
parent
cdcbae4c05
commit
7aebac994b
|
|
@ -24,7 +24,7 @@ services:
|
||||||
|
|
||||||
shard-0:
|
shard-0:
|
||||||
build: .
|
build: .
|
||||||
command: ["shard", "--index", "0", "--count", "3", "--seed", "42", "--listen", "0.0.0.0:9000"]
|
command: ["sim", "shard", "--index", "0", "--count", "3", "--seed", "42", "--listen", "0.0.0.0:9000"]
|
||||||
environment:
|
environment:
|
||||||
SIM_CONFIG: /etc/sim/config.rn
|
SIM_CONFIG: /etc/sim/config.rn
|
||||||
SIM_CLUSTER_TOKEN: ${SIM_CLUSTER_TOKEN:-compose-dev-token}
|
SIM_CLUSTER_TOKEN: ${SIM_CLUSTER_TOKEN:-compose-dev-token}
|
||||||
|
|
@ -38,7 +38,7 @@ services:
|
||||||
|
|
||||||
shard-1:
|
shard-1:
|
||||||
build: .
|
build: .
|
||||||
command: ["shard", "--index", "1", "--count", "3", "--seed", "42", "--listen", "0.0.0.0:9000"]
|
command: ["sim", "shard", "--index", "1", "--count", "3", "--seed", "42", "--listen", "0.0.0.0:9000"]
|
||||||
environment:
|
environment:
|
||||||
SIM_CONFIG: /etc/sim/config.rn
|
SIM_CONFIG: /etc/sim/config.rn
|
||||||
SIM_CLUSTER_TOKEN: ${SIM_CLUSTER_TOKEN:-compose-dev-token}
|
SIM_CLUSTER_TOKEN: ${SIM_CLUSTER_TOKEN:-compose-dev-token}
|
||||||
|
|
@ -52,7 +52,7 @@ services:
|
||||||
|
|
||||||
shard-2:
|
shard-2:
|
||||||
build: .
|
build: .
|
||||||
command: ["shard", "--index", "2", "--count", "3", "--seed", "42", "--listen", "0.0.0.0:9000"]
|
command: ["sim", "shard", "--index", "2", "--count", "3", "--seed", "42", "--listen", "0.0.0.0:9000"]
|
||||||
environment:
|
environment:
|
||||||
SIM_CONFIG: /etc/sim/config.rn
|
SIM_CONFIG: /etc/sim/config.rn
|
||||||
SIM_CLUSTER_TOKEN: ${SIM_CLUSTER_TOKEN:-compose-dev-token}
|
SIM_CLUSTER_TOKEN: ${SIM_CLUSTER_TOKEN:-compose-dev-token}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue