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-build-no-...

68 lines
1.5 KiB

version: '3.8'
services:
redis_db:
extends:
file: ./services/docker-compose-redis.yml
service: redis_db
backend:
depends_on:
- redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always
stop_grace_period: 5m
container_name: 'backend'
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:
ETHEREUM_JSONRPC_VARIANT: 'geth'
ETHEREUM_JSONRPC_HTTP_URL: http://host.docker.internal:8545/
DATABASE_URL: postgresql://postgres:@host.docker.internal:5432/blockscout?ssl=false
volumes:
- ./logs/:/app/logs/
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:
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