add predictoor switch

This commit is contained in:
alexcos20 2023-05-04 13:40:35 +03:00
parent 93499a2e34
commit d2cb75474c
1 changed files with 11 additions and 0 deletions

View File

@ -264,6 +264,17 @@ while :; do
export DEPLOY_SUBGRAPH=false
printf $COLOR_Y'Ocean subgraph will not be deployed, the last deployment (if any) will be intact ...\n\n'$COLOR_RESET
;;
--predictoor)
#remove everything that is not needed
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dashboard.yml/}"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/elasticsearch.yml/}"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/aquarius.yml/}"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/ipfs.yml/}"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/provider.yml/}"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/redis.yml/}"
export CONTRACTS_VERSION=predictoor
printf $COLOR_Y'Starting optimized for predictoor...\n\n'$COLOR_RESET
;;
#################################################
# Cleaning switches
#################################################