From bda984622dfc8fc0bd53a0ed7039213e52d06f77 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sun, 25 Oct 2020 11:00:54 +0100 Subject: [PATCH] Add deployment notes --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2972129..3236aea 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ LnMe connects to your [LND node](https://github.com/lightningnetwork/lnd/blob/ma LnMe can easily run next to LND on the same system. 1. Download the latest [release](https://github.com/bumi/lnme/releases) -2. Run `lnme` (to run it as systemd service have a look at the [systemd service example config](https://github.com/bumi/lnme/blob/master/examples/lnme.service)) +2. Run `lnme` 3. Done. ### Configuration @@ -51,6 +51,21 @@ To connect to the lnd node the cert, macaroon and address of the lnd node has to $ lnme --disable-website +### Deployment + +To run LnMe as systemd service have a look at the [systemd service example config](https://github.com/bumi/lnme/blob/master/examples/lnme.service) + +I am running LnMe behind a reverse proxy using [caddy](https://caddyserver.com/) which comes with [fully-managed HTTPS](https://caddyserver.com/docs/quick-starts/https) via [letsencrypt](https://letsencrypt.org/). + +Example Caddyfile: +``` +lnme.michaelbumann.com { + reverse_proxy 127.0.0.1:1323 +} +``` +`$ caddy --config /etc/caddy/Caddyfile` + + ### Customize your ⚡ website LnMe comes with a default website but you can easily configure and build your own using the the LnMe JavaScript widget or JSON API.