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.yml

55 lines
1.5 KiB

version: '3.8'
services:
db:
image: postgres:14
restart: always
container_name: 'postgres'
environment:
POSTGRES_PASSWORD: ''
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
ports:
- 7432:5432
blockscout:
depends_on:
- db
- smart-contract-verifier
image: blockscout/blockscout:${DOCKER_TAG:-latest}
build:
context: ..
dockerfile: ./docker/Dockerfile
args:
COIN: ""
CACHE_EXCHANGE_RATES_PERIOD: ""
DISABLE_READ_API: "false"
API_PATH: "/"
NETWORK_PATH: "/"
DISABLE_WEBAPP: "false"
DISABLE_WRITE_API: "false"
CACHE_ENABLE_TOTAL_GAS_USAGE_COUNTER: ""
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: ""
SOCKET_ROOT: "/"
WOBSERVER_ENABLED: "false"
ADMIN_PANEL_ENABLED: ""
restart: always
container_name: 'blockscout'
links:
- db:database
command: bash -c "bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\" && bin/blockscout start"
extra_hosts:
- 'host.docker.internal:host-gateway'
env_file:
- ./envs/common-blockscout.env
ports:
- 4000:4000
smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
restart: always
container_name: 'smart-contract-verifier'
env_file:
- ./envs/common-smart-contract-verifier.env
ports:
- 8043:8043