fix(compose): invoke shard mode through sim binary

Co-Authored-By: GitHub Copilot <noreply@github.com>
This commit is contained in:
Steve Biedermann 2026-10-13 17:24:59 +02:00
parent cdcbae4c05
commit 7aebac994b
1 changed files with 3 additions and 3 deletions

View File

@ -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}