How to use Fly.io to run Alby Hub
This guide describes the steps to host your Alby Hub on Fly.io
Last updated
Was this helpful?
This guide describes the steps to host your Alby Hub on Fly.io
Last updated
Was this helpful?
At Alby we are giving you the possibility to connect your own bitcoin lightning node to your . To make it easier to run the node we are using a service to decouple the signing of the transactions from the node. This guide explains how you can self-host the signer app to send and receive payments in a sovereign way. Your lightning node will be independently deployed by Greenlight.
Fly.io offers a free tier which just provides enough compute resources to host your signer app for your own lightning node. Your card won't be charged as long as you only use your account to host the app.
Have a look at for Windows, macOS and Linux
To sign in, run
When your browser opens to the Fly.io sign-in screen, enter your user name and password to sign in.
Change the name 'Alby-nwc' to a custom name. For example: 'I-run-AlbyHub'
To launch the signer app, run
Make sure you run this command in the directory where you store the config file.
The cli might ask you: Would you like to copy its configuration to the new app? Yes Do you want to tweak these settings before proceeding? No Create .dockerignore from 1 .gitignore files? No
If you see: Watch your deployment at https://fly.io/apps/....
the app has been deployed successfully.
Log into your Fly.io account and you see the new app in the 'Apps' view.
Click on the app to access it on your browser.
Click on "Get Started"
In Powershell on Windows, navigate to the directory of your fly.toml with cd [directory path]
. Then type fly deploy
in Powershell.
You'll see further information printed in Powershell.
Thank you for stopping by! This section was created with contributions from Moritz & Jean-Paul
Congrats you successfully deployed and set up your own lightning node. đ Also: Did you know we have a Discord channel? It's a great place to connect with our community and get to meet one another.đ Check it out and come đ