Skip to content

Docker-Compose for production (Let's encrypt + NGINX + lightning charged + C-Lightning + Bitcoin Core)

License

Notifications You must be signed in to change notification settings

bitcoiner-dev/lightning-charge-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightning Charge Docker-Compose

Introduction

This repository is meant to have an easy to host docker-compose suitable for production environment of c-lightning.

Architecture

It is basically a combinaison of:

  • LightningD
  • Lightning Charged
  • Bitcoin Core
  • NGINX
  • Let's encrypt automatic renewal

The following environment variable are used:

  • NBITCOIN_NETWORK: the blockchain identifier used by NBitcoin (eg., regtest, testnet, mainnet)
  • CHARGED_HOST: the external url used to access the NGINX server from internet. This domain name must point to this machine for Let's Encrypt to create your certificate. (typically with a CNAME or A record)
  • LETSENCRYPT_EMAIL: The email Let's Encrypt will use to notify you about certificate expiration.
  • ACME_CA_URI: Let's encrypt API endpoint (https://acme-staging.api.letsencrypt.org/directory for a staging certificate, https://acme-v01.api.letsencrypt.org/directory for a production one)
  • CHARGED_ALIAS: the lignthning node alias
  • CHARGED_IP: the public ip of this node

About

Docker-Compose for production (Let's encrypt + NGINX + lightning charged + C-Lightning + Bitcoin Core)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%