|
|
|
@ -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})
|
|
|
|
|