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-rust-serv...

48 lines
1.3 KiB

version: '3.8'
services:
redis_db:
extends:
file: ./services/docker-compose-redis.yml
service: redis_db
db:
extends:
file: ./services/docker-compose-db.yml
service: db
blockscout:
depends_on:
- db
- redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest}
build:
context: ..
dockerfile: ./docker/Dockerfile
args:
CACHE_EXCHANGE_RATES_PERIOD: ""
API_V1_READ_METHODS_DISABLED: "false"
DISABLE_WEBAPP: "false"
API_V1_WRITE_METHODS_DISABLED: "false"
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED: ""
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: ""
ADMIN_PANEL_ENABLED: ""
RELEASE_VERSION: 5.2.2
restart: always
stop_grace_period: 5m
container_name: 'blockscout'
links:
- db:database
command: sh -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:
MICROSERVICE_SC_VERIFIER_ENABLED: 'false'
MICROSERVICE_VISUALIZE_SOL2UML_ENABLED: 'false'
MICROSERVICE_SIG_PROVIDER_ENABLED: 'false'
ports:
- 4000:4000
volumes:
- ./logs/:/app/logs/