A simple tuturial for a dockerize steem witness deployment
Clone someguy123's tool
git clone https://github.com/steemfans/steem-docker-ex.git
Pull the latest docker image
docker pull ety001/steem-mira:0.23.1 docker tag ety001/steem-mira:0.23.1 steem:latest
Download the latest backup data
Visit here https://files.steem.fans/ to get the latest backup data (steem_witness_xxxx.tar.lz4).
Using a backup data will speed up your procress.
For the disk less space users, you could try the stream way to download and decompress backup data. Like this:
wget -c -qO- https://files.steem.fans/data/xxxxx.tar.lz4 | lz4 -d | tar x
Move the backup data
After downloaded, unarchive it. You will get a folder named
Move it to the tools folder:
mv blockchain steem-docker-ex/data/witness_node_data_dir
Generate a witness sign key
docker run -it --rm steemit/steem:0.23.x-mira /usr/local/steemd/bin/get_dev_key STM your_random_str
your_random_str by a strong random string.
Config the witness node
cd steem-docker-ex/data/witness_node_data_dir/ cp config.ini.example config.ini
Add your sign key into the config.ini file.
witness = "ety001" private-key = 5Kxxxxxx
ety001 by your witness name and replace
5Kxxxxxx by your sign key.
Run your node
cd steem-docker-ex ./run.sh start
If you have any issue, please join our discord for help.
I'm also a witness. Thank you for voting me.
One more thing
Here is a tuturial written in Chinese. It was written long time ago by me.
Maybe it could give you more detailed information.