-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (29 loc) · 1.55 KB
/
Copy path.env.example
File metadata and controls
30 lines (29 loc) · 1.55 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
# Copy to .env and fill in. NEVER commit the real file.
#
# The NWC capability lives in the data volume (keys.json, nwc-uri.txt), not
# here. Read the URI with: docker compose exec nwc-lnd-bridge cat /data/nwc-uri.txt
# LND_MACAROON authenticates to the node. For a funds-holding node, bake an INVOICE-ONLY
# macaroon and leave NWC_METHODS at its invoice-only default.
# One relay, or several separated by spaces/commas, e.g.
# NWC_RELAY="wss://relay.damus.io wss://nos.lol"
NWC_RELAY=wss://relay.damus.io
# Seen from inside the container, so 127.0.0.1 would be the container itself.
# host.docker.internal is the Docker host (compose maps it on Linux too). For an
# LND in another compose project, use its container name instead.
LND_REST_URL=https://host.docker.internal:8080
# hex-encode the macaroon: xxd -p -c 2000 invoice.macaroon | tr -d '\n'
LND_MACAROON=
# base64 of tls.cert: base64 -w0 tls.cert
# Required unless LND_REST_URL is loopback. To skip verification on a network
# you trust (the macaroon crosses it in every request), set LND_TLS_INSECURE=1.
LND_CERT=
LND_TLS_INSECURE=
# blank = make_invoice lookup_invoice get_info (invoice-only).
# To allow spending / balance disclosure, list methods explicitly, e.g.:
# NWC_METHODS="make_invoice lookup_invoice pay_invoice get_balance get_info"
NWC_METHODS=
# Required when pay_invoice is enabled, in millisatoshis. MAX_PAY_MSAT caps each
# payment; FEE_LIMIT_MSAT caps the routing fee LND may spend on it. There is no
# daily or total budget: fund the node with no more than the URI may lose.
MAX_PAY_MSAT=
FEE_LIMIT_MSAT=