Alpha version - early code for further development
- host accounts for the Bolt Card Wallet app
- lightweight
- Phoenix Server
- SQLite database
- docker deployment
- web admin
- provision an m1s VM on lunanode using the
Debian 12 64-bit
template
($3.50 per month in June 2024, they accept bitcoin and are lighting enabled for payments) - log in to the machine using SSH (Linux) or Putty (Windows)
- install docker
- enable managing docker as a non root user
docker volume create phoenix_data
docker volume create caddy_data
docker volume create caddy_config
docker volume create card_data
git clone https://github.com/boltcard/hub
cd hub
./docker_init.sh
- the domain name could be
your Hostname from the lunanode VM rDNS tab
- the domain name could also be a custom domain or subdomain where you have set an A record to your VPS external IP
- the GroundControl URL could be
gc.boltcardwallet.com
or blank if you are not using the norifications feature
for a very low resource machine it may be useful to pull the docker images from docker hub
docker compose pull
docker compose up
for a full local build from source
docker compose build
docker compose up
- set an admin password and access the admin web interface at https://domain-name/admin/
docker compose up -d
sudo cat /var/lib/docker/volumes/hub_phoenix_data/_data/seed.dat ; echo
sudo rm /var/lib/docker/volumes/hub_card_data/_data/cards.db
- consider debian-12.6 or alpine-3.14 instead of ubuntu-22.04 to save disk space