diff --git a/docker/Makefile b/docker/Makefile index 4ef65aa369c8..cb796260935b 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -13,6 +13,11 @@ endif DB_URL = postgresql://postgres:@$(HOST):5432/explorer?ssl=false BLOCKSCOUT_CONTAINNER_PARAMS = -e 'MIX_ENV=prod' \ -e 'DATABASE_URL=$(DB_URL)' + +BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_VARIANT=geth' +BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545' +BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_WS_URL=http://localhost:8546' +BLOCKSCOUT_CONTAINNER_PARAMS += -e 'COIN=ELA' ifeq ($(SYSTEM), Linux) BLOCKSCOUT_CONTAINNER_PARAMS += --network=host endif @@ -25,13 +30,6 @@ endif # ifdef ETHEREUM_JSONRPC_WS_URL # BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_WS_URL=$(ETHEREUM_JSONRPC_WS_URL)' # endif - - -BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_VARIANT=geth' -BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545' -BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_WS_URL=http://localhost:8546' -BLOCKSCOUT_CONTAINNER_PARAMS += -e 'COIN=ELA' - ifdef ETHEREUM_JSONRPC_TRACE_URL BLOCKSCOUT_CONTAINNER_PARAMS += -e 'ETHEREUM_JSONRPC_TRACE_URL=$(ETHEREUM_JSONRPC_TRACE_URL)' endif