-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
76 lines (75 loc) · 1.55 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
version: '3.8'
networks:
bitcoin_regtest:
name: bitcoin_regtest
driver: bridge
ipam:
config:
- subnet: 172.50.0.0/24
services:
btc1:
container_name: btc1
image: ruimarinho/bitcoin-core:23
restart: always
ports:
- 18442:18443
- 18444
networks:
- bitcoin_regtest
#volumes:
# - ./bitcoin/btc1:/home/bitcoin/.bitcoin
command: [
"-printtoconsole",
"-regtest",
"-listen",
"-fallbackfee=0.0002", # 20 sats per byte
"-rpcallowip=172.50.0.0/24",
"-rpcbind=btc1",
"-rpcbind=127.0.0.1",
"-rpcuser=turkycat",
"-rpcpassword=hunter1",
]
btc2:
container_name: btc2
image: ruimarinho/bitcoin-core:23
depends_on:
- btc1
restart: always
ports:
- 18443:18443
- 18444:18444
networks:
- bitcoin_regtest
#volumes:
# - ./bitcoin/btc2:/home/bitcoin/.bitcoin
command: [
"-printtoconsole",
"-regtest",
"-txindex",
"-listen",
"-fallbackfee=0.0002", # 20 sats per byte
"-rpcallowip=172.50.0/24",
"-rpcbind=btc2",
"-rpcuser=turkycat",
"-rpcpassword=hunter1",
"-connect=btc1"
]
fulcrum:
container_name: fulcrum
image: cculianu/fulcrum
restart: always
depends_on:
- btc2
ports:
- 50001:50001
networks:
- bitcoin_regtest
#volumes:
# - ./fulcrum:/data
command: [
"Fulcrum",
"-t", "0.0.0.0:50001",
"-b", "btc2:18443",
"-u", "turkycat",
"-p", "hunter1",
]