lnp-bp / docker Goto Github PK
View Code? Open in Web Editor NEWDocker containers by LNP/BP Standards Association
License: MIT License
Docker containers by LNP/BP Standards Association
License: MIT License
Connected with each other, with ports exposed & done in the same way as bitcoind and c-lightningd images (debian buster) & compose (no need to integrate with them though)
Constructed in a same way as other containers (on Debian Buster, built from sources)
Both this repo and https://github.com/LNP-BP/nodes serve the same purpose. I think they can be joined into one repo (I will keep both commit histories, git allows that).
For
For enabling lightning node customization
when launching bitcoind this log appears: Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
(from here)
to generate an rpcauth, from the bitcoin repo, run: ./share/rpcauth/rpcauth.py <username> <password>
for this project, using bitcoin
as user and password, the rpcauth is: rpcauth=bitcoin:c15fb70bbb0239f9cfdfc8b5d48d67a2$0c9257124cf65b816e06fb8c657de4c5cc458d3385ca8242ba7ac17b29aeb064
I propose to change the bitcoind command
directive in all compose files, putting instead of -rpcuser=bitcoin
and -rpcpassword=bitcoin
, the rpcauth flag (escaping the dollar symbol for yaml
): -rpcauth=bitcoin:c15fb70bbb0239f9cfdfc8b5d48d67a2$$0c9257124cf65b816e06fb8c657de4c5cc458d3385ca8242ba7ac17b29aeb064
One we agree upon them in #19, including, but not limiting to:
From RGB-WG/rgb-node#71
Based on the current mainnet version: just change the ports and ENV variables + provide additional -testnet
arg in command
Connected with both LND (#15) and c-lightning
Use https://github.com/krallin/tini, like in c-lightning default docker container, for all shells inside containers
After some discussions with @zoedberg in #17 I propose to discuss and then codify design principles we are using for dockerization (Dockerfile design and docker-compose containers). Right now this is an issue, but later once we agree on it I propose to put it as a part of README.md file in this repo.
So my initial take on that:
expose
but not port
commandARG
variablesENTRYPOINT
in a way that it can be extended with compose command
args later; entrypoint
is should be preferred.Itβs possible to use environment variables in your shell to populate values inside a Compose file
.env
file within compose directory using volumesmacos.env
, windows.env
& linux.env
files using default OS-specific paths for volumesA declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.