diff --git a/apps/cli/src/node/docker-compose-anvil.yaml b/apps/cli/src/node/docker-compose-anvil.yaml index 7c7d5557..6d552b34 100644 --- a/apps/cli/src/node/docker-compose-anvil.yaml +++ b/apps/cli/src/node/docker-compose-anvil.yaml @@ -22,10 +22,8 @@ services: image: cartesi/rollups-node:devel restart: on-failure depends_on: - anvil: + validator: condition: service_started - migration: - condition: service_completed_successfully env_file: - ${CARTESI_BIN_PATH}/node/default.env command: diff --git a/apps/cli/src/node/docker-compose-validator.yaml b/apps/cli/src/node/docker-compose-validator.yaml index ae1a023e..ad600e21 100644 --- a/apps/cli/src/node/docker-compose-validator.yaml +++ b/apps/cli/src/node/docker-compose-validator.yaml @@ -2,10 +2,10 @@ services: validator: image: cartesi/rollups-node:devel depends_on: - dapp_deployer: - condition: service_completed_successfully migration: condition: service_completed_successfully + anvil: + condition: service_healthy expose: - "10000" healthcheck: