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/hardhat-network.yml

81 lines
1.5 KiB

version: '3.9'
services:
redis-db:
extends:
file: ./services/redis.yml
service: redis-db
db-init:
extends:
file: ./services/db.yml
service: db-init
db:
extends:
file: ./services/db.yml
service: db
backend:
depends_on:
- db
- redis-db
extends:
file: ./services/backend.yml
service: backend
links:
- db:database
environment:
ETHEREUM_JSONRPC_VARIANT: 'geth'
ETHEREUM_JSONRPC_WS_URL: ws://host.docker.internal:8545/
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: 'true'
INDEXER_INTERNAL_TRANSACTIONS_TRACER_TYPE: 'opcode'
CHAIN_ID: '31337'
visualizer:
extends:
file: ./services/visualizer.yml
service: visualizer
sig-provider:
extends:
file: ./services/sig-provider.yml
service: sig-provider
frontend:
depends_on:
- backend
extends:
file: ./services/frontend.yml
service: frontend
environment:
NEXT_PUBLIC_NETWORK_ID: '31337'
NEXT_PUBLIC_NETWORK_RPC_URL: http://host.docker.internal:8545/
stats-db-init:
extends:
file: ./services/stats.yml
service: stats-db-init
stats-db:
depends_on:
- backend
extends:
file: ./services/stats.yml
service: stats-db
stats:
depends_on:
- stats-db
extends:
file: ./services/stats.yml
service: stats
proxy:
depends_on:
- backend
- frontend
- stats
extends:
file: ./services/nginx.yml
service: proxy