forked from lightningdevkit/ldk-node
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-lnd.yml
More file actions
executable file
·86 lines (83 loc) · 2.13 KB
/
docker-compose-lnd.yml
File metadata and controls
executable file
·86 lines (83 loc) · 2.13 KB
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
services:
bitcoin:
image: blockstream/bitcoind:27.2
platform: linux/amd64
command:
[
"bitcoind",
"-printtoconsole",
"-regtest=1",
"-rpcallowip=0.0.0.0/0",
"-rpcbind=0.0.0.0",
"-rpcuser=user",
"-rpcpassword=pass",
"-fallbackfee=0.00001",
"-zmqpubrawblock=tcp://0.0.0.0:28332",
"-zmqpubrawtx=tcp://0.0.0.0:28333"
]
ports:
- "18443:18443" # Regtest RPC port
- "18444:18444" # Regtest P2P port
- "28332:28332" # ZMQ block port
- "28333:28333" # ZMQ tx port
networks:
- bitcoin-electrs
healthcheck:
test: ["CMD", "bitcoin-cli", "-regtest", "-rpcuser=user", "-rpcpassword=pass", "getblockchaininfo"]
interval: 5s
timeout: 10s
retries: 5
electrs:
image: mempool/electrs:v3.2.0
platform: linux/amd64
depends_on:
bitcoin:
condition: service_healthy
command:
[
"-vvvv",
"--timestamp",
"--jsonrpc-import",
"--cookie=user:pass",
"--network=regtest",
"--daemon-rpc-addr=bitcoin:18443",
"--http-addr=0.0.0.0:3002",
"--electrum-rpc-addr=0.0.0.0:50001"
]
ports:
- "3002:3002"
- "50001:50001"
networks:
- bitcoin-electrs
lnd:
image: lightninglabs/lnd:v0.18.5-beta
container_name: ldk-node-lnd
depends_on:
- bitcoin
volumes:
- ${LND_DATA_DIR}:/root/.lnd
ports:
- "8081:8081"
- "9735:9735"
command:
- "--noseedbackup"
- "--trickledelay=5000"
- "--alias=ldk-node-lnd-test"
- "--externalip=lnd:9735"
- "--bitcoin.active"
- "--bitcoin.regtest"
- "--bitcoin.node=bitcoind"
- "--bitcoind.rpchost=bitcoin:18443"
- "--bitcoind.rpcuser=user"
- "--bitcoind.rpcpass=pass"
- "--bitcoind.zmqpubrawblock=tcp://bitcoin:28332"
- "--bitcoind.zmqpubrawtx=tcp://bitcoin:28333"
- "--accept-keysend"
- "--rpclisten=0.0.0.0:8081"
- "--tlsextradomain=lnd"
- "--tlsextraip=0.0.0.0"
networks:
- bitcoin-electrs
networks:
bitcoin-electrs:
driver: bridge