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

Commit

Permalink
fixup! feat(docker): update docker compose to node 1.2
Browse files Browse the repository at this point in the history
feat: support rollups-node 1.2

Claims are now sent by the authority-claimer instead of the dispatcher
  • Loading branch information
marcelstanley committed Nov 7, 2023
1 parent 54602bf commit 5b645db
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 15 deletions.
3 changes: 2 additions & 1 deletion docker-compose-host-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: "3"

services:
server_manager:
image: cartesi/rollups-host-runner:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-host-runner
ports:
- "5004:5004"
environment:
Expand Down
3 changes: 2 additions & 1 deletion docker-compose-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: "3"

services:
server_manager:
image: cartesi/rollups-host-runner:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-host-runner
ports:
- "5004:5004"
environment:
Expand Down
18 changes: 12 additions & 6 deletions docker-compose-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ x-credentials:

services:
dispatcher:
image: cartesi/rollups-dispatcher:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-dispatcher
restart: always
depends_on:
state_server:
Expand All @@ -34,7 +35,8 @@ services:
- ./deployments:/deployments:ro

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

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

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

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

graphql_server:
image: cartesi/rollups-graphql-server:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-graphql-server
ports:
- "4000:4000"
depends_on:
Expand Down
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- ./deployments:/app/rollups/deployments

dispatcher:
image: cartesi/rollups-node:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-dispatcher
restart: always
depends_on:
Expand Down Expand Up @@ -66,7 +66,7 @@ services:
- ./deployments:/deployments:ro

authority-claimer:
image: cartesi/rollups-node:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-authority-claimer
restart: always
depends_on:
Expand Down Expand Up @@ -99,7 +99,7 @@ services:
- ./deployments:/deployments:ro

state_server:
image: cartesi/rollups-node:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-state-server
restart: always
healthcheck:
Expand All @@ -119,7 +119,7 @@ services:
BH_BLOCK_TIMEOUT: 8

advance_runner:
image: cartesi/rollups-node:1.0.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-advance-runner
restart: always
healthcheck:
Expand Down Expand Up @@ -220,7 +220,7 @@ services:
]

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

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

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

0 comments on commit 5b645db

Please sign in to comment.