-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (82 loc) · 1.97 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
services:
mandala-node:
image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5
container_name: mandala-node
ports:
- 9944:9944
command:
- --dev
- -levm=debug
- --rpc-external
- --rpc-cors=all
- --rpc-methods=unsafe
- --pruning=archive
- --instant-sealing
postgres:
image: postgres:12-alpine
container_name: postgres
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: postgres
subquery-node:
image: acala/evm-subql:2.8.1
container_name: subquery-node
ports:
- 3000:3000
depends_on:
- mandala-node
- postgres
restart: always
extra_hosts:
- host.docker.internal:host-gateway
environment:
DB_USER: postgres
DB_PASS: postgres
DB_DATABASE: postgres
DB_HOST: host.docker.internal
DB_PORT: 5432
command:
- -f=project.yaml # local mandala
- --network-endpoint=ws://mandala-node:9944
- --db-schema=acala_evm
- --log-level=debug
- --unsafe
- --disable-historical
graphql-engine:
image: subquerynetwork/subql-query:v2.10.0
container_name: graphql-engine
ports:
- 3001:3001
depends_on:
- subquery-node
restart: always
extra_hosts:
- host.docker.internal:host-gateway
environment:
DB_USER: postgres
DB_PASS: postgres
DB_DATABASE: postgres
DB_HOST: host.docker.internal
DB_PORT: 5432
PORT: 3001
command:
- --name=acala_evm
- --playground
- --indexer=http://subquery-node:3000
eth-rpc-adapter-server:
image: acala/eth-rpc-adapter:2.8.1
container_name: eth-rpc-adapter-server
restart: always
depends_on:
- mandala-node
- graphql-engine
ports:
- 8545:8545
extra_hosts:
- host.docker.internal:host-gateway
environment:
- SUBQL_URL=http://graphql-engine:3001
- ENDPOINT_URL=ws://mandala-node:9944
- LOCAL_MODE=1
command: yarn start