This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
72 lines (68 loc) · 1.56 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
version: "3.7"
networks:
local:
name: local
driver: bridge
ipam:
config:
- subnet: 172.86.1.0/24
volumes:
bitcoin:
lnd:
services:
bitcoin:
image: vafanassieff/bitcoin:0.21.0
container_name: bitcoin
hostname: bitcoin
restart: unless-stopped
volumes:
- bitcoin:/bitcoin/.bitcoin
networks:
- local
command: >-
bitcoind
-server=1
-regtest=1
-listenonion=0
-txindex=1
-dnsseed=0
-upnp=0
-listen=1
-debug=1
-fallbackfee=0.0002
-zmqpubrawblock=tcp://0.0.0.0:28334
-zmqpubrawtx=tcp://0.0.0.0:28335
-rpcbind=0.0.0.0
-rpcallowip=0.0.0.0/0
-rpcport=18443
-rpcauth=local:a22bf839241c810053fbe2d5c1d7352c$$f8a3ed07bb2f8385520d7b665abe8ee82a9cca98a8023894f0fbea958e00bb24
lnd:
image: vafanassieff/lnd:v0.12.1-beta
container_name: lnd
hostname: lnd
restart: unless-stopped
volumes:
- lnd:/lnd/.lnd
networks:
- local
depends_on:
- bitcoin
command: >-
lnd
--noseedbackup
--maxpendingchannels=10
--trickledelay=5000
--alias=lnd
--externalip=172.86.1.101
--tlsextraip=172.86.1.101
--listen=0.0.0.0:9735
--rpclisten=0.0.0.0:10009
--restlisten=0.0.0.0:8080
--bitcoin.active
--bitcoin.regtest
--bitcoin.node=bitcoind
--bitcoind.rpchost=bitcoin:18443
--bitcoind.rpcuser=local
--bitcoind.rpcpass=test
--bitcoind.zmqpubrawblock=tcp://bitcoin:28334
--bitcoind.zmqpubrawtx=tcp://bitcoin:28335