Add sol2uml env vars to makefile and docker-compose envs

pull/6401/head
Lymarenko Lev 2 years ago
parent 131d03b832
commit 1579071165
  1. 2
      docker-compose/envs/common-blockscout.env
  2. 7
      docker/Makefile

@ -137,6 +137,8 @@ API_RATE_LIMIT_STATIC_API_KEY=
FETCH_REWARDS_WAY=trace_block
ENABLE_RUST_VERIFICATION_SERVICE=true
RUST_VERIFICATION_SERVICE_URL=http://host.docker.internal:8043/
VISUALIZE_SOL2UML_ENABLED=true
VISUALIZE_SOL2UML_VISUALIZE_SOL2UML_SERVICE_URL=http://host.docker.internal:8050/
# DATABASE_READ_ONLY_API_URL=
# ACCOUNT_DATABASE_URL=
# ACCOUNT_POOL_SIZE=

@ -550,6 +550,13 @@ endif
ifdef ACCOUNT_CLOAK_KEY
BLOCKSCOUT_CONTAINER_PARAMS += -e 'ACCOUNT_CLOAK_KEY=$(ACCOUNT_CLOAK_KEY)'
endif
ifdef VISUALIZE_SOL2UML_ENABLED
BLOCKSCOUT_CONTAINER_PARAMS += -e 'VISUALIZE_SOL2UML_ENABLED=$(VISUALIZE_SOL2UML_ENABLED)'
endif
ifdef VISUALIZE_SOL2UML_SERVICE_URL
BLOCKSCOUT_CONTAINER_PARAMS += -e 'VISUALIZE_SOL2UML_SERVICE_URL=$(VISUALIZE_SOL2UML_SERVICE_URL)'
endif
HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep -sw "${BS_CONTAINER_IMAGE} ")
build:

Loading…
Cancel
Save