forked from maticnetwork/heimdall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (66 loc) · 1.79 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
# This is an example compose file for starting up Heimdall required components
# to run standalone without Bor for development and testing purposes.
# Do not use this for production.
version: "3"
services:
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3-alpine
ports:
- "5672:5672" # RabbitMQ
restart: unless-stopped
heimdalld:
container_name: heimdalld
image: 0xpolygon/heimdall:latest
build: .
restart: unless-stopped
environment:
- HEIMDALL_ETH_RPC_URL=https://goerli.infura.io/v3/[YOUR_INFURA_PROJECT_ID]
volumes:
- ./data:/heimdall
ports:
- "26656:26656" # P2P (TCP)
- "26657:26657" # RPC (TCP)
depends_on:
- rabbitmq
command:
- start
- --p2p.laddr=tcp://0.0.0.0:26656
- --rpc.laddr=tcp://0.0.0.0:26657
heimdallr:
container_name: heimdallr
image: 0xpolygon/heimdall:latest
build: .
restart: unless-stopped
environment:
- HEIMDALL_ETH_RPC_URL=https://goerli.infura.io/v3/[YOUR_INFURA_PROJECT_ID]
volumes:
- ./data:/heimdall
ports:
- "1317:1317" # Heimdall REST API
depends_on:
- heimdalld
command:
- rest-server
- --laddr=tcp://0.0.0.0:1317
- --node=tcp://heimdalld:26657
bridge:
container_name: bridge
image: 0xpolygon/heimdall:latest
build: .
restart: unless-stopped
environment:
- HEIMDALL_ETH_RPC_URL=https://goerli.infura.io/v3/[YOUR_INFURA_PROJECT_ID]
- HEIMDALL_AMQP_URL=amqp://guest:guest@rabbitmq:5672
- HEIMDALL_HEIMDALL_REST_SERVER=http://heimdallr:1317
- HEIMDALL_TENDERMINT_RPC_URL=http://heimdalld:26657
volumes:
- ./data:/heimdall
depends_on:
- heimdalld
- heimdallr
- rabbitmq
command:
- bridge
- start
- --all