Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
feat(docker): update docker compose to node 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GMKrieger committed Nov 6, 2023
1 parent 80be07f commit 54602bf
Showing 1 changed file with 41 additions and 6 deletions.
47 changes: 41 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ services:
- ./deployments:/app/rollups/deployments

dispatcher:
image: cartesi/rollups-dispatcher:1.0.0
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-dispatcher
restart: always
depends_on:
hardhat:
Expand All @@ -58,7 +59,36 @@ services:
RD_EPOCH_DURATION: 86400
SC_GRPC_ENDPOINT: http://state_server:50051
SC_DEFAULT_CONFIRMATIONS: 1
CHAIN_ID: 31337
REDIS_ENDPOINT: redis://redis:6379
volumes:
- blockchain-data:/opt/cartesi/share/deployments:ro
- ./deployments:/deployments:ro

authority-claimer:
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-authority-claimer
restart: always
depends_on:
hardhat:
condition: service_healthy
hardhat_set_interval:
condition: service_completed_successfully
deployer:
condition: service_completed_successfully
state_server:
condition: service_healthy
redis:
condition: service_healthy
environment:
RUST_LOG: info
DAPP_DEPLOYMENT_FILE: /deployments/localhost/dapp.json
ROLLUPS_DEPLOYMENT_FILE: /opt/cartesi/share/deployments/localhost.json
RD_EPOCH_DURATION: 86400
SC_GRPC_ENDPOINT: http://state_server:50051
SC_DEFAULT_CONFIRMATIONS: 1
TX_PROVIDER_HTTP_ENDPOINT: http://hardhat:8545
TX_SIGNING_MNEMONIC: "test test test test test test test test test test test junk"
AUTH_MNEMONIC: "test test test test test test test test test test test junk"
TX_CHAIN_ID: 31337
TX_CHAIN_IS_LEGACY: ${TX_LEGACY:-false}
Expand All @@ -69,7 +99,8 @@ services:
- ./deployments:/deployments:ro

state_server:
image: cartesi/rollups-state-server:1.0.0
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-state-server
restart: always
healthcheck:
test: ["CMD-SHELL","bash -c 'echo \"\" > /dev/tcp/127.0.0.1/50051;'"]
Expand All @@ -88,7 +119,8 @@ services:
BH_BLOCK_TIMEOUT: 8

advance_runner:
image: cartesi/rollups-advance-runner:1.0.0
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-advance-runner
restart: always
healthcheck:
test: [ "CMD", "curl", "--fail", "localhost:8080/healthz" ]
Expand Down Expand Up @@ -188,7 +220,8 @@ services:
]

inspect_server:
image: cartesi/rollups-inspect-server:1.0.0
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-inspect-server
restart: always
ports:
- "5005:5005"
Expand All @@ -202,7 +235,8 @@ services:
SESSION_ID: default_rollups_id

indexer:
image: cartesi/rollups-indexer:1.0.0
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-indexer
restart: always
depends_on:
database:
Expand All @@ -221,7 +255,8 @@ services:
- ./deployments:/deployments:ro

graphql_server:
image: cartesi/rollups-graphql-server:1.0.0
image: cartesi/rollups-node:1.0.0
command: cartesi-rollups-graphql-server
ports:
- "4000:4000"
depends_on:
Expand Down

0 comments on commit 54602bf

Please sign in to comment.