Installation
Minimum Requirements
- OS: Linux, macOS or Windows 10/11 (64-bit), as long as it can run Docker. On macOS and Windows, check the versions Docker Desktop supports: macOS, Windows
- RAM: 4GB minimum, 8GB recommended
- Disk Space: 2GB free space
- Network: Internet connection
Step 1: Install dependencies (Docker, git & curl)
For Linux (Ubuntu/Debian)
Open your terminal and run the following commands:
# Update package list
sudo apt update
# Install Docker and Git
sudo apt install -y curl docker.io git
# Install Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# Add your user to the docker group (allows running Docker without sudo)
sudo usermod -aG docker $USER
# Refresh your user session to apply group changes
su - $USER
For macOS
- Download Docker Desktop for Mac from docker.com
- Open the downloaded
.dmgfile - Drag Docker to your Applications folder
- Launch Docker from Applications
- Follow the setup wizard
- Docker will start automatically
For Windows
- Download Docker Desktop for Windows from docker.com
- Run the installer
- Follow the installation wizard
- Restart your computer when prompted
- Launch Docker Desktop from the Start menu
- Wait for Docker to start (you'll see a green icon in the system tray)
Verify Docker Installation
After installing Docker, verify it's working correctly:
docker --version
You should see output like:
Docker version 28.2.2, build 28.2.2-0ubuntu1
Verify Git is Installed
git --version
If you see the version number, Docker and Git are installed correctly! Skip to Step 3.
Step 2: Install Git (If Not Already Installed)
Git is needed to download the Ambrosia source code from GitHub.
Install Git
For macOS:
brew install git
(Requires Homebrew. If you don't have Homebrew, download Git from git-scm.com)
For Windows: Download and install from git-scm.com
Step 3: Clone the Ambrosia Repository
Now we'll download the Ambrosia source code from GitHub.
If you already have the ambrosia folder from a previous installation, skip this step and follow "Update from a Previous Version" in Step 4.
Navigate to Your Preferred Directory
# Install in your home directory
cd ~
Clone the Repository
Run the following commands to download Ambrosia:
# Clone the repository from GitHub
git clone https://github.com/olympus-btc/ambrosia.git
# Navigate into the project directory
cd ambrosia
The main branch always matches the latest Ambrosia release (v0.9.0-beta when this guide was written).
Verify the Files
Check that you're in the correct directory with the project files:
ls
You should see files including:
docker-compose.yml(Docker configuration)README.md(Project documentation)- Various folders like
server,client, etc.
Step 4: Build and Start the Containers
Run these commands from the ambrosia directory.
Update from a Previous Version
Skip this on a fresh installation. If you already ran an older version of Ambrosia with Docker, get the latest code and rebuild the images first:
git pull
docker-compose up --build -d
Start Ambrosia
docker-compose up -d --wait && docker-compose restart
This process may take 3-5 minutes on first run, especially on slower internet connections. Subsequent starts will be much faster.
Step 5: Back up your seed words
Write down your seed and put it somewhere secret/safe (VERY IMPORTANT BEFORE PUTTING MONEY ON THE NODE):
docker exec -it phoenixd cat /phoenix/.phoenix/seed.dat
You can also see it later in the app, in Settings → Bitcoin & Wallet → Lightning SEED.
Step 6: Configure phoenixd for inbound liquidity
By default, phoenixd will request 2Msat of inbound liquidity from the ACINQ LSP, whenever it runs out of inbound liquidity. This of course includes when you first start the node and receive your very first payment. ACINQ charges 1% of the amount of inbound liquidity requested, which is 20ksat (plus the mining fee). Since 20ksat is about US$20 at the time of writing, and since we don't need this much inbound liquidity for a workshop, we instead configure phoenixd not to request inbound liquidity.
(Note: if you actually want 2M sats of inbound liquidity, just omit this. If you go this route, you should send ~25ksats as your first payment, most of which will be taken by ACINQ for the fee):
Run the following command:
docker exec phoenixd sh -c "\
sed -i '/^auto-liquidity=/d' /phoenix/.phoenix/phoenix.conf && \
echo 'auto-liquidity=off' >> /phoenix/.phoenix/phoenix.conf && \
sed -i '/^max-mining-fee=/d' /phoenix/.phoenix/phoenix.conf && \
echo 'max-mining-fee=5000' >> /phoenix/.phoenix/phoenix.conf \
" && docker restart phoenixd
Step 7: Verify auto-liquidity settings in phoenix.conf
docker exec phoenixd cat /phoenix/.phoenix/phoenix.conf
You should see the following two lines at the bottom:
auto-liquidity=off
max-mining-fee=5000
If you don’t see these values, it means auto-liquidity is still ON. In that case, Phoenixd will require you to open a channel with 25,000 sats, which will give you about 2M sats of inbound liquidity. If you want less liquidity (and therefore pay less to open the channel), return to Step 6: Configure phoenixd for inbound liquidity and adjust your settings.
These sats cover the mining fee to open a channel with ACINQ. They are not refundable.
Step 8: Access Ambrosia
- Open your web browser (Chrome, Firefox, Safari, Edge, etc.)
- Navigate to: http://localhost:3000
- You should see the Ambrosia onboarding screen
You may need to turn off your VPN if page is not loading
To update Ambrosia later, see Updating Ambrosia. To open it from a tablet or phone, see Other Devices.