Skip to content

Commit

Permalink
Fix native demo
Browse files Browse the repository at this point in the history
* Fix just command
* Switch some nodes to file system query service
* Run status API only on other nodes
  • Loading branch information
jbearer committed Dec 14, 2023
1 parent 0d12934 commit 68af3a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default:
demo *args:
docker compose up {{args}}

just demo-native:
demo-native:
cargo build --release
scripts/demo-native

Expand Down
10 changes: 5 additions & 5 deletions process-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ processes:
condition: service_healthy

sequencer0:
command: sequencer -- http -- query -- submit
command: sequencer -- http -- query-fs -- status -- submit
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq0
Expand All @@ -47,7 +47,7 @@ processes:
condition: service_healthy

sequencer1:
command: sequencer -- http -- query
command: sequencer -- http -- query-fs -- status
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER1_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq1
Expand All @@ -58,7 +58,7 @@ processes:
condition: service_healthy

sequencer2:
command: sequencer -- http -- query
command: sequencer -- http -- status
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER2_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq2
Expand All @@ -69,7 +69,7 @@ processes:
condition: service_healthy

sequencer3:
command: sequencer -- http -- query
command: sequencer -- http -- status
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER3_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq3
Expand All @@ -80,7 +80,7 @@ processes:
condition: service_healthy

sequencer4:
command: sequencer -- http
command: sequencer -- http -- status
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER4_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq4
Expand Down

0 comments on commit 68af3a1

Please sign in to comment.