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.

67 lines
2.1 KiB

5 years ago
# Umbrel Compose System
5 years ago
## Abstract
4 years ago
This is a basic framework for orchestration of the services required to run an Umbrel bitcoin and lightning node.
5 years ago
## How to use
5 years ago
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
5 years ago
Ensure you have the [latest docker](https://docs.docker.com/install/linux/docker-ce/ubuntu/) installed, python3 (for docker-compose), and docker-compose (installed from python3 pip).
5 years ago
Ensure that you have the latest tor (currently working with 0.3.5.8), and you are using system default paths.
5 years ago
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.
```bash
# 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
5 years ago
curl "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/install-box.sh" | sh
5 years ago
# OR wget (if this works better)
5 years ago
wget -qO- "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/install-box.sh" | sh
```
### Configuring
```bash
# 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
5 years ago
wget -qO- "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/configure-box.sh" | sh
# or (should be in the $HOME directory after install)
./configure-box.sh
```
### Running
```bash
# Build containers in build/ always
docker-compose up -d --build
# verify the containers
docker ps -a
```
5 years ago
5 years ago
## TODO List
5 years ago
5 years ago
Please see the [following tasks](https://github.com/getumbrel/umbrel-compose/issues?q=is%3Aissue+is%3Aopen+label%3ATODO) which are on this list.