forked from bitpay/bitcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
47 lines (42 loc) · 808 Bytes
/
docker-compose.test.yml
File metadata and controls
47 lines (42 loc) · 808 Bytes
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
version: "3"
services:
test_runner:
build:
context: .
dockerfile: Dockerfile-test
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
db:
image: mongo
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
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.28.0.0/16