You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
nolim1t 9105b2f898
Add grace period for web container
5 years ago
bin Add bin dirtectory 5 years ago
bitcoin edit maxconnections 5 years ago
build Add volume permissions context container 5 years ago
contrib Keysend utility 5 years ago
invoicer Change port of invoicer so it doesn't conflict with lnd 5 years ago
lnd Add keysend functionality to default config 5 years ago
nginx nginx config to support history.pushState 5 years ago
secrets Add secrets directory 5 years ago
tor Remove TOR container for now 5 years ago
.gitignore Add gitignore 5 years ago
CONTRIBUTING.md Add contributing guide 5 years ago
LICENSE Instructions for licensing 5 years ago
README.md Make a note about TESTNET mode 5 years ago
configure-box.sh fix TESTNET= variable 5 years ago
docker-compose.yml Add grace period for web container 5 years ago
install-box.sh Remove configuration 5 years ago

README.md

The Box Compose System

Abstract

This is a basic framework for orchestration of the box services for running a full lightning and bitcoin node.

How to use

Ideally, you should create a user for this and then run it within the root of that user. There are some root privilege needed stuff, however LND doesn't support tor passwords yet so we will need to wait.

Step 1

Ensure you have the latest docker installed, python3 (for docker-compose), and docker-compose (installed from python3 pip).

Ensure that you have the latest tor (currently working with 0.3.5.8), and you are using system default paths.

For the install script, you should also have git installed.

For the configuration script you should also have wget.

These scripts all are able to run as non-interactive sessions.

Step 2

Ensure that your account is permissioned for docker.

Step 3

Run this from your home directory. This clones this repo into your home directory, as well as preserving the existing structure.

# Ideally you should run this in $HOME as the docker-compose presets are in home
# This will not overwrite any other files but you should segment this in its 
# own account
curl "https://raw.githubusercontent.com/lncm/thebox-compose-system/master/install-box.sh" | sh
# OR wget (if this works better)
wget -qO- "https://raw.githubusercontent.com/lncm/thebox-compose-system/master/install-box.sh" | sh

Configuring

# If you want to use testnet, otherwise we will use mainnet by default and be #reckless
export TESTNET=true
# testnet mode not supported as config is completely different

# Run this in the $HOME directory
wget -qO- "https://raw.githubusercontent.com/lncm/thebox-compose-system/master/configure-box.sh" | sh
# or (should be in the $HOME directory after install)
./configure-box.sh

Running

# Build containers in build/ always
docker-compose up -d --build
# verify the containers
docker ps -a

# Additional node: You should have a way of creating a wallet. Currently this container does not have a create wallet container.
# For the unlock script to work, put the unlock password in secrets/lnd-password.txt

TODO List

Please see the following tasks which are on this list.