Skip to content

Commit

Permalink
Customize blockscout UI
Browse files Browse the repository at this point in the history
  • Loading branch information
akarabashov committed Jan 19, 2024
1 parent 9aa7b08 commit c2e9154
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions indy-besu/network/infra/blockscout/blockscout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion indy-besu/network/scripts/common.sh
Original file line number Diff line number Diff line change
@@ -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"`
Expand Down
4 changes: 4 additions & 0 deletions indy-besu/network/scripts/remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c2e9154

Please sign in to comment.