Docker Integration
For local builds
Please see https://github.com/blockscout/blockscout/tree/master/docker-compose for all required information.
The repo above contains built-in configs for different clients without needing to build the image.
Note for Linux users: Linux users who run Blockscout in docker with a local node need to run the node on http://0.0.0.0/ rather than http://127.0.0.1/
- Erigon:
docker-compose -f docker-compose-no-build-erigon.yml up -d
- Geth:
docker-compose -f docker-compose-no-build-geth.yml up -d
- Nethermind, OpenEthereum:
docker-compose -f docker-compose-no-build-nethermind up -d
- Ganache:
docker-compose -f docker-compose-no-build-ganache.yml up -d
- HardHat network:
docker-compose -f docker-compose-no-build-hardhat-network.yml up -d
- Running only explorer without DB:
docker-compose -f docker-compose-no-build-no-db-container.yml up -d
. In this case, one container is created - for the explorer itself. And it assumes that the DB credentials are provided throughDATABASE_URL
environment variable.