From 9122d6802349ba44ff0180c62d1cdfb07d4a377b Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Mon, 26 Oct 2020 09:23:29 +0300 Subject: [PATCH] Actualize docker vars list --- CHANGELOG.md | 1 + docker/Makefile | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67b90b3870..fe16159209 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ - [#3335](https://github.com/poanetwork/blockscout/pull/3335) - MarketCap calculation: check that ETS tables exist before inserting new data or lookup from the table ### Chore +- [#3394](https://github.com/poanetwork/blockscout/pull/3394) - Actualize docker vars list - [#3372](https://github.com/poanetwork/blockscout/pull/3372), [#3380](https://github.com/poanetwork/blockscout/pull/3380) - Improve all lists header container - [#3371](https://github.com/poanetwork/blockscout/pull/3371) - Eliminate dark background except Dark forest theme - [#3366](https://github.com/poanetwork/blockscout/pull/3366) - Stabilize tests execution in Github Actions CI diff --git a/docker/Makefile b/docker/Makefile index 9f9ce83f0a..6ea927f56c 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -232,6 +232,43 @@ endif ifdef GAS_PRICE BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE=$(GAS_PRICE)' endif +ifdef TOKEN_METADATA_UPDATE_INTERVAL + BLOCKSCOUT_CONTAINER_PARAMS += -e 'TOKEN_METADATA_UPDATE_INTERVAL=$(TOKEN_METADATA_UPDATE_INTERVAL)' +endif +ifdef WOBSERVER_ENABLED + BLOCKSCOUT_CONTAINER_PARAMS += -e 'WOBSERVER_ENABLED=$(WOBSERVER_ENABLED)' +endif +ifdef OMNI_BRIDGE_MEDIATOR + BLOCKSCOUT_CONTAINER_PARAMS += -e 'OMNI_BRIDGE_MEDIATOR=$(OMNI_BRIDGE_MEDIATOR)' +endif +ifdef AMB_BRIDGE_MEDIATORS + BLOCKSCOUT_CONTAINER_PARAMS += -e 'AMB_BRIDGE_MEDIATORS=$(AMB_BRIDGE_MEDIATORS)' +endif +ifdef FOREIGN_JSON_RPC + BLOCKSCOUT_CONTAINER_PARAMS += -e 'FOREIGN_JSON_RPC=$(FOREIGN_JSON_RPC)' +endif +ifdef BRIDGE_MARKET_CAP_UPDATE_INTERVAL + BLOCKSCOUT_CONTAINER_PARAMS += -e 'BRIDGE_MARKET_CAP_UPDATE_INTERVAL=$(BRIDGE_MARKET_CAP_UPDATE_INTERVAL)' +endif +ifdef RESTRICTED_LIST + BLOCKSCOUT_CONTAINER_PARAMS += -e 'RESTRICTED_LIST=$(RESTRICTED_LIST)' +endif +ifdef RESTRICTED_LIST_KEY + BLOCKSCOUT_CONTAINER_PARAMS += -e 'RESTRICTED_LIST_KEY=$(RESTRICTED_LIST_KEY)' +endif +ifdef ADDRESS_TRANSACTIONS_CACHE_PERIOD + BLOCKSCOUT_CONTAINER_PARAMS += -e 'ADDRESS_TRANSACTIONS_CACHE_PERIOD=$(ADDRESS_TRANSACTIONS_CACHE_PERIOD)' +endif +ifdef DISABLE_BRIDGE_MARKET_CAP_UPDATER + BLOCKSCOUT_CONTAINER_PARAMS += -e 'DISABLE_BRIDGE_MARKET_CAP_UPDATER=$(DISABLE_BRIDGE_MARKET_CAP_UPDATER)' +endif + +ifdef ADDRESS_TRANSACTIONS_GAS_USAGE_COUNTER_CACHE_PERIOD + BLOCKSCOUT_CONTAINER_PARAMS += -e 'ADDRESS_TRANSACTIONS_GAS_USAGE_COUNTER_CACHE_PERIOD=$(ADDRESS_TRANSACTIONS_GAS_USAGE_COUNTER_CACHE_PERIOD)' +endif +ifdef TOTAL_GAS_USAGE_CACHE_PERIOD + BLOCKSCOUT_CONTAINER_PARAMS += -e 'TOTAL_GAS_USAGE_CACHE_PERIOD=$(TOTAL_GAS_USAGE_CACHE_PERIOD)' +endif HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep ${DOCKER_IMAGE}) build: