|
|
@ -355,36 +355,6 @@ endif |
|
|
|
ifdef CACHE_ADDRESS_TOKEN_TRANSFERS_COUNTER_PERIOD |
|
|
|
ifdef CACHE_ADDRESS_TOKEN_TRANSFERS_COUNTER_PERIOD |
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'CACHE_ADDRESS_TOKEN_TRANSFERS_COUNTER_PERIOD=$(CACHE_ADDRESS_TOKEN_TRANSFERS_COUNTER_PERIOD)'
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'CACHE_ADDRESS_TOKEN_TRANSFERS_COUNTER_PERIOD=$(CACHE_ADDRESS_TOKEN_TRANSFERS_COUNTER_PERIOD)'
|
|
|
|
endif |
|
|
|
endif |
|
|
|
ifdef AUTH0_DOMAIN |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'AUTH0_DOMAIN=$(AUTH0_DOMAIN)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef AUTH0_CLIENT_ID |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'AUTH0_CLIENT_ID=$(AUTH0_CLIENT_ID)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef AUTH0_CLIENT_SECRET |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'AUTH0_CLIENT_SECRET=$(AUTH0_CLIENT_SECRET)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef AUTH0_LOGOUT_RETURN_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'AUTH0_LOGOUT_RETURN_URL=$(AUTH0_LOGOUT_RETURN_URL)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef AUTH0_LOGOUT_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'AUTH0_LOGOUT_URL=$(AUTH0_LOGOUT_URL)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef SENDGRID_API_KEY |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'SENDGRID_API_KEY=$(SENDGRID_API_KEY)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef SENDGRID_SENDER |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'SENDGRID_SENDER=$(SENDGRID_SENDER)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef SENDGRID_TEMPLATE |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'SENDGRID_TEMPLATE=$(SENDGRID_TEMPLATE)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef PUBLIC_TAGS_AIRTABLE_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'PUBLIC_TAGS_AIRTABLE_URL=$(PUBLIC_TAGS_AIRTABLE_URL)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef PUBLIC_TAGS_AIRTABLE_API_KEY |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'PUBLIC_TAGS_AIRTABLE_API_KEY=$(PUBLIC_TAGS_AIRTABLE_API_KEY)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef API_RATE_LIMIT |
|
|
|
ifdef API_RATE_LIMIT |
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_RATE_LIMIT=$(API_RATE_LIMIT)'
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'API_RATE_LIMIT=$(API_RATE_LIMIT)'
|
|
|
|
endif |
|
|
|
endif |
|
|
@ -499,14 +469,44 @@ endif |
|
|
|
ifdef RUST_VERIFICATION_SERVICE_URL |
|
|
|
ifdef RUST_VERIFICATION_SERVICE_URL |
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'RUST_VERIFICATION_SERVICE_URL=$(RUST_VERIFICATION_SERVICE_URL)'
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'RUST_VERIFICATION_SERVICE_URL=$(RUST_VERIFICATION_SERVICE_URL)'
|
|
|
|
endif |
|
|
|
endif |
|
|
|
ifdef DATABASE_ACCOUNT_URL |
|
|
|
ifdef ACCOUNT_AUTH0_DOMAIN |
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'DATABASE_ACCOUNT_URL=$(DATABASE_ACCOUNT_URL)'
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_AUTH0_DOMAIN=$(ACCOUNT_AUTH0_DOMAIN)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_AUTH0_CLIENT_ID |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_AUTH0_CLIENT_ID=$(ACCOUNT_AUTH0_CLIENT_ID)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_AUTH0_CLIENT_SECRET |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_AUTH0_CLIENT_SECRET=$(ACCOUNT_AUTH0_CLIENT_SECRET)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_AUTH0_LOGOUT_RETURN_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_AUTH0_LOGOUT_RETURN_URL=$(ACCOUNT_AUTH0_LOGOUT_RETURN_URL)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_AUTH0_LOGOUT_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_AUTH0_LOGOUT_URL=$(ACCOUNT_AUTH0_LOGOUT_URL)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_SENDGRID_API_KEY |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_SENDGRID_API_KEY=$(ACCOUNT_SENDGRID_API_KEY)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_SENDGRID_SENDER |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_SENDGRID_SENDER=$(ACCOUNT_SENDGRID_SENDER)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_SENDGRID_TEMPLATE |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_SENDGRID_TEMPLATE=$(ACCOUNT_SENDGRID_TEMPLATE)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_PUBLIC_TAGS_AIRTABLE_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_PUBLIC_TAGS_AIRTABLE_URL=$(ACCOUNT_PUBLIC_TAGS_AIRTABLE_URL)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_PUBLIC_TAGS_AIRTABLE_API_KEY |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_PUBLIC_TAGS_AIRTABLE_API_KEY=$(ACCOUNT_PUBLIC_TAGS_AIRTABLE_API_KEY)'
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ACCOUNT_DATABASE_URL |
|
|
|
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_DATABASE_URL=$(ACCOUNT_DATABASE_URL)'
|
|
|
|
endif |
|
|
|
endif |
|
|
|
ifdef POOL_SIZE_ACCOUNT |
|
|
|
ifdef ACCOUNT_POOL_SIZE |
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'POOL_SIZE_ACCOUNT=$(POOL_SIZE_ACCOUNT)'
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_POOL_SIZE=$(ACCOUNT_POOL_SIZE)'
|
|
|
|
endif |
|
|
|
endif |
|
|
|
ifdef CLOAK_KEY |
|
|
|
ifdef ACCOUNT_CLOAK_KEY |
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'CLOAK_KEY=$(CLOAK_KEY)'
|
|
|
|
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_CLOAK_KEY=$(ACCOUNT_CLOAK_KEY)'
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep -sw "${BS_CONTAINER_IMAGE} ")
|
|
|
|
HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep -sw "${BS_CONTAINER_IMAGE} ")
|
|
|
|