Add missing env vars to Makefile

pull/4690/head
Viktor Baranov 3 years ago
parent 31f07ee954
commit 2cdf249f48
  1. 10
      docker/Makefile

@ -359,8 +359,14 @@ endif
ifdef API_RATE_LIMIT_BY_KEY
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_RATE_LIMIT_BY_KEY=$(API_RATE_LIMIT_BY_KEY)'
endif
ifdef STATIC_API_KEY
BLOCKSCOUT_CONTAINER_PARAMS += -e 'STATIC_API_KEY=$(STATIC_API_KEY)'
ifdef API_RATE_LIMIT_BY_IP
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_RATE_LIMIT_BY_IP=$(API_RATE_LIMIT_BY_IP)'
endif
ifdef API_RATE_LIMIT_STATIC_API_KEY
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_RATE_LIMIT_STATIC_API_KEY=$(API_RATE_LIMIT_STATIC_API_KEY)'
endif
ifdef API_RATE_LIMIT_WHITELISTED_IPS
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_RATE_LIMIT_WHITELISTED_IPS=$(API_RATE_LIMIT_WHITELISTED_IPS)'
endif
HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep -sw ${DOCKER_IMAGE})

Loading…
Cancel
Save