1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-25 20:01:10 +01:00

Merge pull request #178 from oceanprotocol/feature/clean_volumes

Added new volumes to clean
This commit is contained in:
Matthias Kretschmann 2019-08-26 11:34:08 +02:00 committed by GitHub
commit c340d47744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,12 +308,15 @@ while :; do
#################################################
--purge)
printf $COLOR_R'Doing a deep clean ...\n\n'$COLOR_RESET
docker-compose --project-name=$PROJECT_NAME "$COMPOSE_FILES" -f "${NODE_COMPOSE_FILE}" down
eval docker-compose --project-name=$PROJECT_NAME "$COMPOSE_FILES" -f "${NODE_COMPOSE_FILE}" down
docker network rm ${PROJECT_NAME}_default || true
docker network rm ${PROJECT_NAME}_backend || true
docker network rm ${PROJECT_NAME}_secretstore || true
docker volume rm ${PROJECT_NAME}_keeper-node || true
docker volume rm ${PROJECT_NAME}_secret-store || true
docker volume rm ${PROJECT_NAME}_keeper-node-duero || true
docker volume rm ${PROJECT_NAME}_keeper-node-kovan || true
docker volume rm ${PROJECT_NAME}_keeper-node-nile || true
docker volume rm ${PROJECT_NAME}_keeper-node-pacific || true
docker volume rm ${PROJECT_NAME}_faucet || true
read -p "Are you sure you want to delete $KEEPER_ARTIFACTS_FOLDER? " -n 1 -r
echo