Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear NEAR DA data on docker compose test env reset #272

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ services:
depends_on:
rollup0-anvil:
condition: service_healthy
indexer-setup:
near-da-deploy:
condition: service_completed_successfully
expose:
- 9091
Expand Down Expand Up @@ -125,7 +125,7 @@ services:
depends_on:
rollup1-anvil:
condition: service_healthy
indexer-setup:
near-da-deploy:
condition: service_completed_successfully
expose:
- 9091
Expand All @@ -147,6 +147,8 @@ services:
condition: service_healthy
mainnet-anvil-setup:
condition: service_completed_successfully
indexer-setup:
condition: service_completed_successfully
ports:
- "3030:3030"
expose:
Expand All @@ -171,8 +173,23 @@ services:
- near-sffl

indexer-setup:
image: node:16
image: debian:bookworm
container_name: near-sffl-indexer-setup
volumes:
- near_cli_data:/near-cli
- near_cli_keys:/root/.near-credentials
entrypoint: sh
command:
- -c
- |
rm -rf /near-cli/*
rm -rf /root/.near-credentials/*
networks:
- near-sffl

near-da-deploy:
image: node:16
container_name: near-sffl-near-da-deploy
depends_on:
indexer:
condition: service_healthy
Expand Down
Loading