Skip to content

Commit

Permalink
Clear NEAR DA data on docker compose test env reset (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyodar authored Jul 5, 2024
1 parent 438de44 commit 4595854
Showing 1 changed file with 20 additions and 3 deletions.
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

0 comments on commit 4595854

Please sign in to comment.