Luke Childs
02904892c0
|
3 years ago | |
---|---|---|
.github/workflows | 4 years ago | |
app-data | 4 years ago | |
apps | 3 years ago | |
bin | 3 years ago | |
bitcoin | 4 years ago | |
db | 4 years ago | |
electrs | 4 years ago | |
events | 4 years ago | |
lnd | 4 years ago | |
logs | 4 years ago | |
nginx | 4 years ago | |
scripts | 3 years ago | |
statuses | 4 years ago | |
templates | 3 years ago | |
tor | 4 years ago | |
.gitignore | 4 years ago | |
.umbrel | 4 years ago | |
CONTRIBUTING.md | 3 years ago | |
LICENSE.md | 3 years ago | |
README.md | 3 years ago | |
SECURITY.md | 3 years ago | |
docker-compose.yml | 3 years ago | |
info.json | 3 years ago | |
karen | 4 years ago |
README.md
☂️ Umbrel — a personal server for everyone
⚠️ Umbrel is currently in beta and is not considered secure. Please see SECURITY.md for more details.
This is the master repository of Umbrel and contains the framework for orchestration of all containerized services running on Umbrel OS.
It is platform and architecture-agnostic, thus can be used to directly spin up instances of Umbrel without installing the Umbrel OS since all orchestrated services use multi-architecture Docker images.
We run it on Raspberry Pis (ARMv8) as a part of Umbrel OS, Ubuntu (x64) for testnet.getumbrel.com and macOS (x64) for local development.
🚀 Getting started
If you're looking to run Umbrel on:
- A Raspberry Pi 4 with at least 4GB RAM (recommended) - Download Umbrel OS
- Anything else (not recommended as it's experimental at the moment) - Install Umbrel
🛠 Installation
Umbrel OS for Raspberry Pi is the easiest and the recommended way to run Umbrel. If you don't have a Raspberry Pi, you can manually install Umbrel on any hardware running a Linux-based operating system such as Ubuntu, Debian, etc by following the instructions below, but please note it's not the recommended way to run Umbrel as it's still very experimental.
Installation Requirements
- 4GB RAM and 600GB+ free space (for mainnet)
- Docker
- Python 3.0+
- Docker Compose
- fswatch, jq, rsync, curl (
sudo apt-get install fswatch jq rsync curl
)
Make sure your User ID is 1000
(verify it by running id -u
) and ensure that your account is correctly permissioned to use docker.
Step 1. Download Umbrel
Run this in an empty directory where you want to install Umbrel. If using an external storage such as an SSD or HDD, run this inside an empty directory on that drive.
curl -L https://github.com/getumbrel/umbrel/archive/v0.4.9.tar.gz | tar -xz --strip-components=1
Step 2. Run Umbrel
# To use Umbrel on mainnet, run:
sudo ./scripts/start
# The following environment settings can only be set
# during first run of the start script and will be persisted through
# any updates
# For testnet, run:
sudo NETWORK=testnet ./scripts/start
# For regtest, run:
sudo NETWORK=regtest ./scripts/start
# For umbrel to listen on port 12345 instead of 80, run:
sudo NGINX_PORT=12345 ./scripts/start
To stop Umbrel, run:
sudo ./scripts/stop
🎹 Services orchestrated
Umbrel Dashboard
Umbrel Manager
Umbrel Middleware
Bitcoin Core
LND
Tor
Nginx
Neutrino Switcher
Electrs
Architecture
+ -------------------- +
| umbrel-dashboard |
+ -------------------- +
|
|
+ ------------- +
| nginx |
+ ------------- +
|
|
+ - - - - - - - - - - - + - - - - - - - - - - - +
| |
| |
+ ------------------ + + --------------------- +
| umbrel-manager | < - - - jwt auth - - - | umbrel-middleware |
+ ------------------ + + --------------------- +
|
|
+ - - - - - - - - + - - - - - - - - +
| |
| |
+ ------------- + + ------------- +
| bitcoind | < - - - - - - - - | lnd |
+ ------------- + + ------------- +
⚡️ Don't be too reckless
Umbrel is still in beta development and should not be considered secure. Read our writeup of security tradeoffs that exist today.
It's recommended that you note down your 24 secret words (seed phrase) with a pen and paper, and secure it safely. If you forget your dashboard's password, or in case something goes wrong with your Umbrel, you will need these 24 words to recover your funds in the Bitcoin wallet of your Umbrel.
You're also recommended to download a backup of your payment channels regularly as it'll be required to recover your funds in the Lightning wallet of your Umbrel in case something goes wrong. You should also always download the latest backup file before installing an update.
❤️ Contributing
We welcome and appreciate new contributions.
If you're a developer looking to help but not sure where to begin, check out these issues that have specifically been marked as being friendly to new contributors.
If you're looking for a bigger challenge, before opening a pull request please create an issue or join our community chat to get feedback, discuss the best way to tackle the challenge, and to ensure that there's no duplication of work.
📜 License
Umbrel is licensed under the PolyForm Noncommercial 1.0.0 license. TL;DR — You're free to use, fork, modify, and redestribute Umbrel for personal and nonprofit use under the same license. If you're interested in using Umbrel for commercial purposes, such as selling plug-and-play home servers with Umbrel, etc — please reach out to us at partner@getumbrel.com.