Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/lazy-feet-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cli": patch
---

better prompt service dependency
6 changes: 5 additions & 1 deletion apps/cli/src/node/docker-compose-anvil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ services:
]

prompt:
image: debian:bookworm-slim
depends_on:
anvil:
condition: service_healthy
dapp_deployer:
condition: service_completed_successfully
environment:
PROMPT_TXT_01_ANVIL: "Anvil running at http://localhost:8545"

Expand Down
4 changes: 3 additions & 1 deletion apps/cli/src/node/docker-compose-bundler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ services:
- "100"
- "--enable-debug-endpoints"
prompt:
image: debian:bookworm-slim
depends_on:
alto:
condition: service_started
environment:
PROMPT_TXT_06_BUNDLER: "Bundler running at http://localhost:${CARTESI_LISTEN_PORT}/bundler/rpc"

Expand Down
4 changes: 3 additions & 1 deletion apps/cli/src/node/docker-compose-explorer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ services:
condition: service_completed_successfully

prompt:
image: debian:bookworm-slim
depends_on:
explorer:
condition: service_started
environment:
PROMPT_TXT_04_EXPLORER: "Explorer running at http://localhost:${CARTESI_LISTEN_PORT}/explorer/"

Expand Down
4 changes: 3 additions & 1 deletion apps/cli/src/node/docker-compose-paymaster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ services:
- ANVIL_RPC=http://anvil:8545

prompt:
image: debian:bookworm-slim
depends_on:
mock-verifying-paymaster:
condition: service_started
environment:
PROMPT_TXT_07_PAYMASTER: "Paymaster running at http://localhost:${CARTESI_LISTEN_PORT}/paymaster/"

Expand Down
4 changes: 3 additions & 1 deletion apps/cli/src/node/docker-compose-validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ services:
condition: service_healthy

prompt:
image: debian:bookworm-slim
depends_on:
validator:
condition: service_healthy
environment:
PROMPT_TXT_02_GRAPHQL: "GraphQL running at http://localhost:${CARTESI_LISTEN_PORT}/graphql"
PROMPT_TXT_03_INSPECT: "Inspect running at http://localhost:${CARTESI_LISTEN_PORT}/inspect/"
Expand Down
Loading