-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-blockscout-goquorum-clique.yml
74 lines (66 loc) · 1.72 KB
/
docker-compose-blockscout-goquorum-clique.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3.8'
services:
redis_db:
networks:
- quorum
extends:
file: ./services/docker-compose-redis.yml
service: redis_db
db:
networks:
- quorum
extends:
file: ./services/docker-compose-db.yml
service: db
blockscout:
networks:
- quorum
depends_on:
- db
- smart-contract-verifier
- redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always
stop_grace_period: 5m
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
environment:
ETHEREUM_JSONRPC_VARIANT: 'geth'
BLOCK_TRANSFORMER: 'clique'
ETHEREUM_JSONRPC_HTTP_URL: http://172.18.0.2:8545/
DATABASE_URL: postgresql://postgres:@host.docker.internal:7432/blockscout?ssl=false
ECTO_USE_SSL: 'false'
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports:
- 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier:
networks:
- quorum
extends:
file: ./services/docker-compose-smart-contract-verifier.yml
service: smart-contract-verifier
visualizer:
networks:
- quorum
extends:
file: ./services/docker-compose-visualizer.yml
service: visualizer
sig-provider:
networks:
- quorum
extends:
file: ./services/docker-compose-sig-provider.yml
service: sig-provider
networks:
quorum:
name: quorum_quorum
external: true