This repo contains a downloader script and various docker-compose configurations for running a Fedimint Guardian or a Fedimint Lightning Gateway.
Current version of Fedimintd and Gatewayd: v0.4.3
Current version of UI: 0.4.3
This script will create and configure a docker-compose.yaml file and a .env file in a directory named fedimint-service
bash <(curl -sSf https://raw.githubusercontent.com/fedimint/fedimint-docker/master/downloader.sh)
The downloader script can be run on a fresh linux box and will install all the required software (docker, etc.) , then step you through selecting:
For a Guardian, the script will also step you through configuring your DNS records to ensure your fedimint is accessible over the web.
fedimintnow.com
2
CPU, 4GB
RAM, and 80GB
SSD.This script will create and configure a docker-compose.yaml file and a .env file in a directory named fedimint-service
bash <(curl -sSf https://raw.githubusercontent.com/fedimint/fedimint-docker/master/downloader.sh)
Within the script, select in order:
1
for Guardian1
for Mainnet1
for Bitcoind1
for Local Pruned NodeWhich will download the docker-compose.yml file and a .env in a directory named fedimint-service
Follow the instructions in the script to verify your DNS configuration. This consists of creating a CNAME record pointing to the ipv4 address of the machine fedimintd is being deployed to
The script will then prompt you and configure the following variable in the .env file:
FM_DOMAIN=
: The domain name you configured to point at this machine (e.g. fedimintnow.org
)The bitcoind RPC url and kind will already be configured to use the local bitcoind node.
The script will start the fedimint service by running docker-compose up -d
, and you'll be able to access the guardian UI at your domain name (e.g. https://fedimintnow.org
).
If you want want to stop the service, you can run docker-compose down
in the fedimint-service
directory, then start it again by running docker-compose up -d
.
You're now ready to start using your Fedimint Guardian and perform the initial setup ceremony to create your federation.