For local builds
docker compose
instead of docker-compose
, if compose v2 plugin is installed in Docker.docker-compose up
in order to launch from pre-build backend Docker image. This will be much faster.docker-compose.yml
by-default, which builds the backend of the explorer into the Docker image and runs 9 Docker containers:
JSON RPC Client | Docker compose launch command |
Erigon | docker-compose -f erigon.yml up -d |
Geth (suitable for Reth as well) | docker-compose -f geth.yml up -d |
Geth Clique | docker-compose -f geth-clique-consensus.yml up -d |
Nethermind, OpenEthereum | docker-compose -f nethermind up -d |
Anvil | docker-compose -f anvil.yml up -d |
HardHat network | docker-compose -f hardhat-network.yml up -d |
docker-compose -f external-db.yml up -d
. In this case, no db container is created. And it assumes that the DB credentials are provided through DATABASE_URL
environment variable on the backend container.docker-compose -f external-backend.yml up -d
docker-compose -f external-frontend.yml up -d
docker-compose -f microservices.yml up -d
docker-compose -d -f config_file.yml down
, replacing config_file.yml
with the file name of the config which was previously launched.
You can adjust BlockScout environment variables:
./envs/common-blockscout.env
./envs/common-frontend.env
./envs/common-stats.env
./envs/common-visualizer.env