-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
84 lines (77 loc) · 1.96 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
version: "3.9"
volumes:
ethereum-volume:
polkadot-volume:
astar-volume:
services:
ethereum:
image: "ethereum/client-go:v1.12.2"
command: "--dev --ipcdisable --http --http.addr 0.0.0.0 --http.vhosts * --http.api eth,debug,admin,txpool,web3"
expose:
- "8545"
ulimits:
nofile:
soft: 10000
hard: 10000
deploy:
resources:
reservations:
memory: 1g
volumes:
- "ethereum-volume:/root"
polkadot:
image: "parity/polkadot:v1.5.0"
command: "--chain=westend-dev --dev --rpc-external --rpc-port=9944 --alice --blocks-pruning archive --state-pruning archive --base-path /polkadot"
expose:
- "9944"
user: root
ulimits:
nofile:
soft: 10000
hard: 10000
deploy:
resources:
reservations:
memory: 1g
volumes:
- "polkadot-volume:/polkadot"
astar:
image: "staketechnologies/astar-collator:v5.28.0-rerun"
command: "astar-collator --chain dev --rpc-port=9994 --rpc-cors=all --rpc-external --alice --enable-evm-rpc --base-path /astar"
expose:
- "9994"
user: root
ulimits:
nofile:
soft: 10000
hard: 10000
deploy:
resources:
reservations:
memory: 1g
volumes:
- "astar-volume:/astar"
connector-ethereum:
image: "analoglabs/connector-ethereum"
command: "--network dev --addr 0.0.0.0:8081 --node-addr http://ethereum:8545"
ports:
- "8081:8081"
depends_on:
- ethereum
connector-polkadot:
image: "analoglabs/connector-polkadot"
command: "--network dev --addr 0.0.0.0:8082 --node-addr ws://polkadot:9944"
ports:
- "8082:8082"
depends_on:
- polkadot
# TODO: need to do a proper health check
restart: always
connector-astar:
image: "analoglabs/connector-astar"
command: "--network dev --addr 0.0.0.0:8083 --node-addr ws://astar:9994"
ports:
- "8083:8083"
depends_on:
- astar
restart: always