A docker image, with the testnet swarm, and factomd within it.

Rapid1 8eb8255a56 fix iptables 1 month ago
.gitignore 0a9c2055a8 Add iptables and wallet option 2 months ago
Dockerfile d27bbbe2e8 iptables 2 months ago
README.md a059778259 Update 'README.md' 2 months ago
config.txt_EXAMPLE d27bbbe2e8 iptables 2 months ago
daemon.json 2305d4878e remove no-cache 3 months ago
entrypoint.sh 8eb8255a56 fix iptables 1 month ago
entrypoint2.sh d27bbbe2e8 iptables 2 months ago
factomd.conf.EXAMPLE 502670d2b2 factomd.conf copy 6 months ago
iptables.sh_EXAMPLE 8eb8255a56 fix iptables 1 month ago
run.sh 254cf5399e set factom-cli network 2 months ago

README.md

TFA-Testnet-Swarm-Builder

This script will build a docker swarm, within a docker container. You can use the hosts network, or if your host has multiple IP's, one of those to allow you to run multiple nodes in isolation.

  • Automated Updates
  • iptables integration
  • Optional IP Isolation.
  • Optional factom_walletd.
  • Run factom-cli commands.

Getting started

git clone https://git.factoid.org/TFA/factom-testnet-swarm-image
cd factom-testnet-swarm-image

Make sure you have curl and jq installed

apt install curl jq

Before you run for the first time...

  • If you have existing volumes, load those into docker.
  • Or, if you have an existing factomd.conf, copy into this directory
  • Or, rename factomd.conf.EXAMPLE to factomd.conf, and edit.
cp config.txt_EXAMPLE config.txt
cp iptables.sh_EXAMPLE iptables.sh

Edit these files as desired.

Run, Update, or interact.

./run.sh

Follow on-screen prompts.