curl
installed. If on a system withoutcurl
installed, follow applicable OS guidance for installingcurl
.- Ability to use
sudo
- Debian
- Ubuntu
- arm64
- amd64 (x86_64)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker-swarm/main/install.sh)"
export VOINETWORK_IMPORT_ACCOUNT=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker-swarm/main/install.sh)"
export VOINETWORK_SKIP_WALLET_SETUP=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker-swarm/main/install.sh)"
export VOINETWORK_TELEMETRY_NAME="my_custom_telemetry_name"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker-swarm/main/install.sh)"
Custom telemetry name can be combined with other environment variables.
rm -rf ~/voi/algod
docker stack rm voinetwork
docker swarm leave --force
This section of the README closely follows commands outlined in the excellent D13 guide for setting up a Voi participation node under Ubuntu 22.04. The guide can be found here: https://d13.co/posts/set-up-voi-participation-node/
Commands are wrapped in shell scripts that execute into a running docking container.
~/voi/bin/create-wallet.sh <wallet_name>
~/voi/bin/create-account.sh
~/voi/bin/get-account-mnemonic.sh <account_address>
~/voi/bin/import-account.sh
~/voi/bin/generate-participation-key.sh <account_address>
~/voi/bin/get-account-status.sh <account_address>
~/voi/bin/go-online.sh <account_address>
~/voi/bin/go-offline.sh <account_address>
~/voi/bin/goal.sh <goal_command>
~/voi/bin/bash.sh
docker stack ps --no-trunc voinetwork
docker service ls
docker service logs voinetwork_algod
docker inspect voinetwork_algod
- Add apprise / alarming on scaling events in docker-compose.yml
- Add participation key rotation
- Add mechanism for updating scripts and compose files (and swarm) on top of existing installation
- Adds script for participation key management