-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
97 lines (88 loc) · 2.48 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
version: "3.9"
services:
bitcoind:
image: lncm/bitcoind:v25.1
restart: unless-stopped
networks:
testing_net:
ipv4_address: 172.29.1.1
volumes:
- "bitcoind:/data/.bitcoin"
- "./conf/bitcoind/bitcoin.conf:/data/.bitcoin/bitcoin.conf"
elementsd:
image: blockstream/elementsd:22.1.1
restart: unless-stopped
networks:
testing_net:
ipv4_address: 172.29.1.2
command: elementsd
volumes:
- "elementsd:/root/.elements"
- "./conf/elementsd/elements.conf:/root/.elements/elements.conf"
lnd1:
image: lightninglabs/lnd:v0.17.2-beta
restart: unless-stopped
depends_on:
- bitcoind
networks:
testing_net:
ipv4_address: 172.29.1.3
command: lnd --externalip=172.29.1.3 --externalip=lnd1:9735 --tlsextradomain=lnd1 --alias=lnd1
volumes:
- "lnd1:/root/.lnd"
- "./conf/lnd/lnd.conf:/root/.lnd/lnd.conf"
peerswap1:
image: lnzap/peerswapd:latest
restart: unless-stopped
depends_on:
- lnd1
- elementsd
networks:
testing_net:
ipv4_address: 172.29.1.4
command: --lnd.host=lnd1:10009 --elementsd.rpcwallet=peerswap1 --host=localhost:42069
volumes:
- "lnd1:/root/.lnd"
- "peerswap1:/root/.peerswap"
- "./conf/peerswapd/policy.conf:/root/.peerswap/policy.conf"
- "./conf/peerswapd/peerswap.conf:/root/.peerswap/peerswap.conf"
lnd2:
image: lightninglabs/lnd:v0.17.2-beta
restart: unless-stopped
depends_on:
- bitcoind
networks:
testing_net:
ipv4_address: 172.29.1.5
command: lnd --externalip=172.29.1.5 --externalip=lnd2:9735 --tlsextradomain=lnd2 --alias=lnd2
volumes:
- "lnd2:/root/.lnd"
- "./conf/lnd/lnd.conf:/root/.lnd/lnd.conf"
peerswap2:
image: lnzap/peerswapd:latest
restart: unless-stopped
depends_on:
- lnd2
- elementsd
networks:
testing_net:
ipv4_address: 172.29.1.6
command: --lnd.host=lnd2:10009 --elementsd.rpcwallet=peerswap2 --host=0.0.0.0:42069
volumes:
- "lnd2:/root/.lnd"
- "peerswap2:/root/.peerswap"
- "./conf/peerswapd/policy.conf:/root/.peerswap/policy.conf"
- "./conf/peerswapd/peerswap.conf:/root/.peerswap/peerswap.conf"
volumes:
bitcoind:
elementsd:
lnd1:
peerswap1:
lnd2:
peerswap2:
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.29.0.0/16