Skip to content

Commit

Permalink
Merge pull request #4729 from Lezek123/processor-reset-script
Browse files Browse the repository at this point in the history
Query node: add `reset-processor.sh` script
  • Loading branch information
mnaamani authored Apr 5, 2023
2 parents e48f76c + 3d118ef commit 2285212
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions query-node/reset-processor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e

SCRIPT_PATH="$(dirname "${BASH_SOURCE[0]}")"
cd $SCRIPT_PATH

docker-compose -f ../docker-compose.yml rm -vsf processor
docker-compose -f ../docker-compose.yml rm -vsf graphql-server
docker exec db psql -U postgres -c "DROP DATABASE query_node_processor;"
./start.sh

0 comments on commit 2285212

Please sign in to comment.