Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/docker-compose/docker-compose-no-build-no-...

20 lines
600 B

version: '3.8'
services:
blockscout:
image: blockscout/blockscout:${DOCKER_TAG:-latest}
restart: always
container_name: 'blockscout'
command: 'mix do ecto.create, ecto.migrate, phx.server'
extra_hosts:
- 'host.docker.internal:host-gateway'
env_file:
- ./envs/common-blockscout.env
environment:
ETHEREUM_JSONRPC_VARIANT: 'geth'
ETHEREUM_JSONRPC_HTTP_URL: http://host.docker.internal:8545/
DATABASE_URL: postgresql://postgres:@host.docker.internal:5432/blockscout?ssl=false
ECTO_USE_SSL: 'false'
ports:
- 4000:4000