-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
97 lines (91 loc) · 2.56 KB
/
docker-compose.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# SPDX-FileCopyrightText: 2023 Baking Bad <[email protected]>
#
# SPDX-License-Identifier: MIT
version: "3.8"
services:
etherlink-operator:
image: etherlink:${TAG}
container_name: 'etherlink-operator'
command: run_node
restart: "no"
env_file:
- .env
# TAG e.g. v18 or master
# NETWORK e.g. oxfordnet
# ROLLUP_ADDRESS e.g. sr1...
# OPERATOR_KEY e.g. unencrypted:edsk...
volumes:
- .tezos-client:/root/.tezos-client/
- .tezos-smart-rollup-node:/root/.tezos-smart-rollup-node
ports:
- 8932:8932
networks:
- internal
etherlink-facade:
image: etherlink:${TAG}
container_name: 'etherlink-facade'
entrypoint: /usr/bin/octez-evm-node
command: run proxy with endpoint http://etherlink-operator:8932 --rpc-addr "0.0.0.0" --rpc-port 8545
restart: always
ports:
- 8545:8545
networks:
- internal
blockscout-redis-db:
image: 'redis:alpine'
ports:
- 6379:6379
container_name: blockscout-redis-db
command: redis-server
volumes:
- ./redis-data:/data
networks:
- internal
blockscout-db:
image: postgres:14
restart: always
container_name: 'blockscout-db'
command: postgres -c 'max_connections=200'
environment:
POSTGRES_PASSWORD: ''
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
ports:
- 7432:5432
volumes:
- ./blockscout-db-data:/var/lib/postgresql/data/
networks:
- internal
blockscout:
depends_on:
- blockscout-db
- blockscout-redis-db
image: blockscout/blockscout:${DOCKER_TAG:-latest}
restart: always
stop_grace_period: 5m
container_name: 'blockscout'
links:
- blockscout-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:
SUBNETWORK: Etherlink
CHAIN_ID: 128123
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: true
INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER: true
MICROSERVICE_SC_VERIFIER_ENABLED: false
MICROSERVICE_VISUALIZE_SOL2UML_ENABLED: false
MICROSERVICE_SIG_PROVIDER_ENABLED: false
DATABASE_URL: postgresql://postgres:@host.docker.internal:7432/blockscout?ssl=false
ACCOUNT_REDIS_URL: redis://blockscout-redis-db:6379
ports:
- 4000:4000
volumes:
- ./logs/:/app/logs/
networks:
- internal
networks:
internal: