version: '3.8' services: blockscout: depends_on: - smart-contract-verifier image: blockscout/blockscout:${DOCKER_TAG:-latest} restart: always container_name: 'blockscout' 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 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' SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN' 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