From 3d118ef36ca71b8cdb1aab92142beffe5919db96 Mon Sep 17 00:00:00 2001 From: Lezek123 Date: Wed, 5 Apr 2023 12:28:30 +0200 Subject: [PATCH] Query node: add `reset-processor.sh` script --- query-node/reset-processor.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 query-node/reset-processor.sh diff --git a/query-node/reset-processor.sh b/query-node/reset-processor.sh new file mode 100755 index 0000000000..028e9c6dff --- /dev/null +++ b/query-node/reset-processor.sh @@ -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 \ No newline at end of file