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 096a61f commit cb11a74
Showing 1 changed file with 35 additions and 6 deletions.
41 changes: 35 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
- ./deployments:/app/rollups/deployments

dispatcher:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:devel
command: cartesi-rollups-dispatcher
restart: always
depends_on:
Expand All @@ -55,7 +55,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:devel
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 @@ -66,7 +95,7 @@ services:
- ./deployments:/deployments:ro

state_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:devel
command: cartesi-rollups-state-server
restart: always
healthcheck:
Expand All @@ -86,7 +115,7 @@ services:
BH_BLOCK_TIMEOUT: 8

advance_runner:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:devel
command: cartesi-rollups-advance-runner
restart: always
healthcheck:
Expand Down Expand Up @@ -188,7 +217,7 @@ services:
]

inspect_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:devel
command: cartesi-rollups-inspect-server
restart: always
ports:
Expand All @@ -203,7 +232,7 @@ services:
SESSION_ID: default_rollups_id

indexer:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:devel
command: cartesi-rollups-indexer
restart: always
depends_on:
Expand All @@ -223,7 +252,7 @@ services:
- ./deployments:/deployments:ro

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

0 comments on commit cb11a74

Please sign in to comment.