Add EXCHANGE_RATES_COINGECKO_API_KEY env variable

pull/5613/head
Viktor Baranov 3 years ago
parent cc6a03508f
commit 207e4185cd
  1. 1
      docker-compose/envs/common-blockscout.env
  2. 3
      docker/Makefile

@ -30,6 +30,7 @@ EMISSION_FORMAT=DEFAULT
# SUPPLY_MODULE=
# EXCHANGE_RATES_SOURCE=
# EXCHANGE_RATES_COINGECKO_COIN_ID=
# EXCHANGE_RATES_COINGECKO_API_KEY=
# EXCHANGE_RATES_COINMARKETCAP_API_KEY=
POOL_SIZE=40
POOL_SIZE_API=10

@ -220,6 +220,9 @@ endif
ifdef EXCHANGE_RATES_COINGECKO_COIN_ID
BLOCKSCOUT_CONTAINER_PARAMS += -e 'EXCHANGE_RATES_COINGECKO_COIN_ID=$(EXCHANGE_RATES_COINGECKO_COIN_ID)'
endif
ifdef EXCHANGE_RATES_COINGECKO_API_KEY
BLOCKSCOUT_CONTAINER_PARAMS += -e 'EXCHANGE_RATES_COINGECKO_API_KEY=$(EXCHANGE_RATES_COINGECKO_API_KEY)'
endif
ifdef EXCHANGE_RATES_COINMARKETCAP_API_KEY
BLOCKSCOUT_CONTAINER_PARAMS += -e 'EXCHANGE_RATES_COINMARKETCAP_API_KEY=$(EXCHANGE_RATES_COINMARKETCAP_API_KEY)'
endif

Loading…
Cancel
Save