diff --git a/indy-besu/network/infra/blockscout/blockscout.yml b/indy-besu/network/infra/blockscout/blockscout.yml index f8f66afa9..3f8415951 100644 --- a/indy-besu/network/infra/blockscout/blockscout.yml +++ b/indy-besu/network/infra/blockscout/blockscout.yml @@ -53,6 +53,13 @@ services: extends: file: ./network/infra/blockscout/services/frontend.yml service: frontend + environment: + NEXT_PUBLIC_NETWORK_NAME: Indy-Besu + NEXT_PUBLIC_NETWORK_SHORT_NAME: Indy-Besu + NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE: validation + NEXT_PUBLIC_HOMEPAGE_SHOW_GAS_TRACKER: false + NEXT_PUBLIC_VIEWS_TX_HIDDEN_FIELDS: '["value","tx_fee"]' + NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER: blockscout stats-db-init: extends: diff --git a/indy-besu/network/scripts/common.sh b/indy-besu/network/scripts/common.sh index 480490384..111dc7c69 100755 --- a/indy-besu/network/scripts/common.sh +++ b/indy-besu/network/scripts/common.sh @@ -1,7 +1,8 @@ #!/bin/sh # Blockscout docker compose config file location -BLOCKSCOUT_DOCKER_CONFIG=/$(dirname $(dirname $(readlink -f "$0")))/infra/blockscout/blockscout.yml +BLOCKSCOUT_CONFIGS_DIR=$(dirname $(dirname $(readlink -f "$0")))/infra/blockscout +BLOCKSCOUT_DOCKER_CONFIG=$BLOCKSCOUT_CONFIGS_DIR/blockscout.yml # checks that this script didn't run manually me=`basename "$0"` diff --git a/indy-besu/network/scripts/remove.sh b/indy-besu/network/scripts/remove.sh index 8d88499d2..add8d8d1e 100755 --- a/indy-besu/network/scripts/remove.sh +++ b/indy-besu/network/scripts/remove.sh @@ -30,5 +30,9 @@ echo "Stop and remove network..." docker compose -f docker-compose.yml -f $BLOCKSCOUT_DOCKER_CONFIG --profile services down -v docker compose -f docker-compose.yml -f $BLOCKSCOUT_DOCKER_CONFIG --profile services rm -sfv +rm -rf $BLOCKSCOUT_CONFIGS_DIR/services/blockscout-db-data +rm -rf $BLOCKSCOUT_CONFIGS_DIR/services/redis-data +rm -rf $BLOCKSCOUT_CONFIGS_DIR/services/stats-db-data + rm ${LOCK_FILE} echo "Lock file ${LOCK_FILE} removed"