Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add blockchain explorer (blockscout) #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions suave/devenv/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,30 @@ services:
- --ws
ports:
- 8555:8545
postgres:
image: postgres:14
restart: always
container_name: 'postgres'
command: postgres -c 'max_connections=200' -c listen_addresses='*'
environment:
POSTGRES_PASSWORD: 'postgres'
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
ports:
- 7432:5432
blockscout:
image: adrienmo/blockscout:suave
command: sh -c "bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\" && bin/blockscout start"
ports:
- 4000:4000
environment:
PORT: 4000
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/blockscout
ECTO_USE_SSL: "false"
MICROSERVICE_SC_VERIFIER_ENABLED: "false"
ETHEREUM_JSONRPC_TRACE_URL: http://suave-mevm:8545
ETHEREUM_JSONRPC_HTTP_URL: http://suave-mevm:8545
ETHEREUM_JSONRPC_VARIANT: geth
COIN: ETH
MIX_ENV: prod
SECRET_KEY_BASE: VTIB3uHDNbvrY0+60ZWgUoUBKDn9ppLR8MI4CpRz4/qLyEFs54ktJfaNT6Z221No
Loading