bitkarrot / lnbits-phoenixd

Docker compose for LNBIts and Phoenixd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LNBits-phoenixd

What this is:

Run a super light, simple Lightning node (phoenixd) together with LNBits within Docker.

This is a docker-compose.yml for lnbits dev branch at LNBITS_COMMIT_HASH=0076a85fdb557552f51c5ec11e0f8ff8df2e17de and phoenixd Dockerfile, source: https://github.com/ACINQ/phoenixd, v0.1.4

This repo will be updated to latest LNBits release when it comes out.

New to Docker?

No problem, here's a guide on how to get started on a vps https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04

To run:

git clone this repository.

docker-compose up

On initial docker launch, you will need to update the LNBits wallet endpoint in the server settings with the corresponding phoenixd http key and the phoenixd endpoint:

  • Default phoenixd endpoint: http://localhost:9740/
  • The phoenixd http key will be located in the phoenixd container at phoenixd.conf

Inspect your docker containers:

Screenshot 2024-05-06 at 12 12 16 AM

Inside of LNBits Admin panel, use the name of the phoenix docker container instead of localhost: Screenshot 2024-05-05 at 10 55 39 PM

  • Save and Restart the LNBits server.
  • Check your logs to see if connected to phoenixd wallet.
Screenshot 2024-05-06 at 12 12 41 AM

Remember to backup your phoenixd seed words.


To give access with a domain name

Ok, now that you have your Docker containers running on your VPS, To Make LNbits install accessible over clearnet with a domain, follow these instructions:

https://github.com/lnbits/lnbits/blob/dev/docs/guide/installation.md#reverse-proxy-with-automatic-https-using-caddy

Don't have a vps? Here's a short list:

https://gist.github.com/bitkarrot/e394556e6d11028e8af5c4d435ba230e

Where to get more help

Original Source

Note:

This is a pre-release, for those who want test out and deploy before next lnbits release. There are some docker customizations which are not default to lnbits. p.s. I am not super familiar with Docker, so if there is a better way to do this, please do suggest.

About

Docker compose for LNBIts and Phoenixd


Languages

Language:Dockerfile 100.0%