forked from bitpay/bitcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
94 lines (86 loc) · 1.77 KB
/
docker-compose.test.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
version: "3"
services:
test_runner:
build:
context: .
dockerfile: Dockerfile
ports:
- 8100:8100
- 3000:3000
environment:
- DB_HOST=db
- DB_NAME=bitcore-test
- BITCORE_CONFIG_PATH=/bitcore/bitcore-test.config.json
depends_on:
- db
- bitcoin
- erigon
- geth
- rippled
db:
image: mongo:3.6.23
bitcoin:
image: ruimarinho/bitcoin-core:0.16
command:
-printtoconsole
-regtest=1
-txindex=0
-listen=1
-server=1
-irc=0
-dnsseed=0
-upnp=0
-port=8332
-rpcport=8333
-rpcallowip=172.0.0.0/8
-rpcbind=0.0.0.0
-rpcuser=bitcorenodetest
-rpcpassword=local321
erigon:
image: thorax/erigon:v2022.08.01
ports:
- "8545:8545"
- "8546:8546"
command:
/usr/local/bin/erigon
--chain=dev
--datadir=/home/erigon/data
--private.api.addr=0.0.0.0:9090
--http.addr=0.0.0.0
--http.api=eth,erigon,web3,net,debug,trace,txpool
--mine
--ws
geth:
image: 0labs/geth:v1.10.21
volumes:
- ./.docker/geth-keystore:/keystore
ports:
- "8555:8555"
- "8556:8556"
command:
geth
--dev
--datadir=/home/kjoseph/nodes/dev/geth
--keystore=/keystore
--http
--http.api=web3,eth,debug,personal,net
--http.corsdomain='*'
--http.vhosts='*'
--http.addr=0.0.0.0
--http.port=8555
--ws
--ws.origins='*'
--ws.api=web3,eth,debug,personal,net
--ws.addr=0.0.0.0
--ws.port=8556
rippled:
build:
context: .
dockerfile: ./.docker/rippled.Dockerfile
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.28.0.0/16