|
|
|
@ -22,9 +22,6 @@ endif |
|
|
|
|
ifdef SUBNETWORK |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'SUBNETWORK=$(SUBNETWORK)'
|
|
|
|
|
endif |
|
|
|
|
ifdef NETWORK_ICON |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'NETWORK_ICON=$(NETWORK_ICON)'
|
|
|
|
|
endif |
|
|
|
|
ifdef LOGO |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'LOGO=$(LOGO)'
|
|
|
|
|
endif |
|
|
|
@ -43,8 +40,8 @@ endif |
|
|
|
|
ifdef ETHEREUM_JSONRPC_WS_URL |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ETHEREUM_JSONRPC_WS_URL=$(ETHEREUM_JSONRPC_WS_URL)'
|
|
|
|
|
endif |
|
|
|
|
ifdef ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT=$(ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT)'
|
|
|
|
|
ifdef ETHEREUM_JSONRPC_TRANSPORT |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ETHEREUM_JSONRPC_TRANSPORT=$(ETHEREUM_JSONRPC_TRANSPORT)'
|
|
|
|
|
endif |
|
|
|
|
ifdef IPC_PATH |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'IPC_PATH=$(IPC_PATH)'
|
|
|
|
@ -124,9 +121,6 @@ endif |
|
|
|
|
ifdef LINK_TO_OTHER_EXPLORERS |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'LINK_TO_OTHER_EXPLORERS=$(LINK_TO_OTHER_EXPLORERS)'
|
|
|
|
|
endif |
|
|
|
|
ifdef COINMARKETCAP_PAGES |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'COINMARKETCAP_PAGES=$(COINMARKETCAP_PAGES)'
|
|
|
|
|
endif |
|
|
|
|
ifdef SUPPORTED_CHAINS |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'SUPPORTED_CHAINS=$(SUPPORTED_CHAINS)'
|
|
|
|
|
endif |
|
|
|
@ -172,14 +166,11 @@ endif |
|
|
|
|
ifdef CHAIN_SPEC_PATH |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'CHAIN_SPEC_PATH=$(CHAIN_SPEC_PATH)'
|
|
|
|
|
endif |
|
|
|
|
ifdef COIN_GECKO_ID |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'COIN_GECKO_ID=$(COIN_GECKO_ID)'
|
|
|
|
|
endif |
|
|
|
|
ifdef EMISSION_FORMAT |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'EMISSION_FORMAT=$(EMISSION_FORMAT)'
|
|
|
|
|
endif |
|
|
|
|
ifdef REWARDS_CONTRACT_ADDRESS |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'REWARDS_CONTRACT_ADDRESS=$(REWARDS_CONTRACT_ADDRESS)'
|
|
|
|
|
ifdef REWARDS_CONTRACT |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'REWARDS_CONTRACT=$(REWARDS_CONTRACT)'
|
|
|
|
|
endif |
|
|
|
|
ifdef SHOW_ADDRESS_MARKETCAP_PERCENTAGE |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'SHOW_ADDRESS_MARKETCAP_PERCENTAGE=$(SHOW_ADDRESS_MARKETCAP_PERCENTAGE)'
|
|
|
|
@ -199,6 +190,12 @@ endif |
|
|
|
|
ifdef API_PATH |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_PATH=$(API_PATH)'
|
|
|
|
|
endif |
|
|
|
|
ifdef CHECKSUM_ADDRESS_HASHES |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'CHECKSUM_ADDRESS_HASHES=$(CHECKSUM_ADDRESS_HASHES)'
|
|
|
|
|
endif |
|
|
|
|
ifdef CHECKSUM_FUNCTION |
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'CHECKSUM_FUNCTION=$(CHECKSUM_FUNCTION)'
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep ${DOCKER_IMAGE})
|
|
|
|
|
build: |
|
|
|
|