-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
105 lines (105 loc) · 2.47 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
98
99
100
101
102
103
104
105
version: "3.9"
services:
rosetta-bitcoin:
image: "analoglabs/rosetta-bitcoin"
environment:
- NETWORK=REGTEST
- MODE=ONLINE
- PORT=8080
ports:
- "8080:8080"
- "18333:18333"
- "18443:18443"
ulimits:
nofile:
soft: 10000
hard: 10000
volumes:
- "bitcoin-volume:/data"
rosetta-ethereum:
image: "analoglabs/rosetta-ethereum"
environment:
- NETWORK=TESTNET
- MODE=ONLINE
- PORT=8081
ports:
- "8081:8081"
#- "30303:30303"
- "8545:8545"
ulimits:
nofile:
soft: 10000
hard: 10000
volumes:
- "ethereum-volume:/data"
rosetta-polkadot:
image: "analoglabs/rosetta-polkadot"
command: "--network dev --url http://0.0.0.0:8082 --rpc-url ws://polkadot:9944"
restart: always
build:
context: "."
dockerfile: "./rosetta-server-polkadot/Dockerfile"
ports:
- "8082:8082"
depends_on:
- polkadot
polkadot:
image: "parity/polkadot:v0.9.32"
command: "--chain dev --ws-external --rpc-cors=all --alice --tmp"
ports:
- "9944:9944"
ulimits:
nofile:
soft: 10000
hard: 10000
deploy:
resources:
reservations:
memory: 1g
volumes:
- "polkadot-volume:/polkadot"
rosetta-bitcoin-indexer:
image: "analoglabs/rosetta-bitcoin-indexer"
command: "--chain=btc --server=http://rosetta-bitcoin:8080 --url=http://0.0.0.0:8083"
restart: always
build:
context: "."
dockerfile: "./rosetta-indexer/Dockerfile"
ports:
- "8083:8083"
depends_on:
- rosetta-bitcoin
rosetta-ethereum-indexer:
image: "analoglabs/rosetta-ethereum-indexer"
command: "--chain=eth --server=http://rosetta-ethereum:8081 --url=http://0.0.0.0:8084"
restart: always
build:
context: "."
dockerfile: "./rosetta-indexer/Dockerfile"
ports:
- "8084:8084"
depends_on:
- rosetta-ethereum
rosetta-polkadot-indexer:
image: "analoglabs/rosetta-polkadot-indexer"
command: "--chain=dot --server=http://rosetta-polkadot:8082 --url=http://0.0.0.0:8085"
restart: always
build:
context: "."
dockerfile: "./rosetta-indexer/Dockerfile"
ports:
- "8085:8085"
depends_on:
- rosetta-polkadot
explorer:
image: "analoglabs/rosetta-explorer"
ports:
- "3000:3000"
depends_on:
- rosetta-bitcoin
- rosetta-ethereum
- rosetta-polkadot
volumes:
bitcoin-volume:
ethereum-volume:
polkadot-volume: