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

89 lines
2.0 KiB

version: '3.9'
services:
redis_db:
extends:
file: ./services/docker-compose-redis.yml
service: redis_db
db-init:
extends:
file: ./services/docker-compose-db.yml
service: db-init
db:
extends:
file: ./services/docker-compose-db.yml
service: db
backend:
depends_on:
- db
- redis_db
extends:
file: ./services/docker-compose-backend.yml
service: backend
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.3
links:
- db:database
environment:
ETHEREUM_JSONRPC_HTTP_URL: http://host.docker.internal:8545/
ETHEREUM_JSONRPC_TRACE_URL: http://host.docker.internal:8545/
ETHEREUM_JSONRPC_WS_URL: ws://host.docker.internal:8545/
CHAIN_ID: '1337'
visualizer:
extends:
file: ./services/docker-compose-visualizer.yml
service: visualizer
sig-provider:
extends:
file: ./services/docker-compose-sig-provider.yml
service: sig-provider
frontend:
depends_on:
- backend
extends:
file: ./services/docker-compose-frontend.yml
service: frontend
stats-db-init:
extends:
file: ./services/docker-compose-stats.yml
service: stats-db-init
stats-db:
depends_on:
- backend
extends:
file: ./services/docker-compose-stats.yml
service: stats-db
stats:
depends_on:
- stats-db
extends:
file: ./services/docker-compose-stats.yml
service: stats
proxy:
depends_on:
- backend
- frontend
- stats
extends:
file: ./services/docker-compose-nginx.yml
service: proxy