-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsample-docker-compose.yaml
42 lines (41 loc) · 1.12 KB
/
sample-docker-compose.yaml
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
services:
lnd:
container_name: lnd
image: docker.io/lightninglabs/lnd:v0.18.4-beta
restart: unless-stopped
stop_grace_period: 5m30s
volumes:
- ~/lnd:/root/.lnd
ports:
- "9735:9735"
- "10009:10009"
command:
lnd
--listen=0.0.0.0:9735
--rpclisten=0.0.0.0:10009
--bitcoin.active
--bitcoin.mainnet
--bitcoin.node=neutrino
--neutrino.addpeer=btcd-mainnet.lightning.computer
--tlsextradomain=lnd
--tlsextradomain=lndk
--accept-keysend
--fee.url=https://nodes.lightning.computer/fees/v1/btctestnet-fee-estimates.json
--protocol.custom-message=513
--protocol.custom-nodeann=39
--protocol.custom-init=39
lndk:
container_name: lndk
image: lndk
build:
context: .
dockerfile: Dockerfile
depends_on: [lnd]
restart: on-failure
stop_grace_period: 20s
volumes:
- ~/lnd:/lnd:ro
command: >
lndk --address=https://lnd:10009 --cert-path=/lnd/tls.cert --macaroon-path=/lnd/data/chain/bitcoin/mainnet/admin.macaroon
environment:
- RUST_LOG=info