Hey there,
today I took the time to setup docker build files and images for the full-node, the delayed-node, the cli-wallet and the web-wallet.
Here are the docker files:
https://github.com/xeroc/bitshares-dockerRunning the containersAs I have a slow data rate internet connection at home, uploading the images
may take some more time.Thanks to mindphlux who gave me a fat machine for a day or two, I was able to
build the docker container and upload it for everyone to use.
All you need to do (after installing docker of course) is
docker run --name trusted-full-node
-p 9090:9090 \
bitshares/bitshares-2-trusted-full-node
If you want to run a public API server you should expose the 8090 port like
this:
docker run --name trusted-full-node
-p 9090:9090 \
-p 8090:8090 \
bitshares/bitshares-2-trusted-full-node
I have added some more launch scripts to the docker github repository. The
delayed node and the cli-wallet require a trusted-node and will link to it
automatically.
Note, the web-wallet containers do contain the official build and thus are not
yet using the websocket server in the trusted-full node. Hence, the web-wallet
will not yet do what you think it does!
Build them yourselfIf you are brave you can build your own images using these docker files with
git clone https://github.com/xeroc/bitshares-docker
cd bitshares-docker
docker build -t bitshares/bitshares-2-trusted-full-node bitshares-2-trusted-full-node
docker build -t bitshares/bitshares-2-delayed-node bitshares-2-delayed-node
docker build -t bitshares/bitshares-2-cli-wallet bitshares-2-cli-wallet
docker build -t bitshares/bitshares-2-webwallet bitshares-2-webwallet
or use the
build.sh script
Todo* I only need to figure out how to let the web wallet connect to the trusted node to have a full bts2 stack deployable via docker.
* The containers are currently relatively big in size .. this size can be reduced by removing the build temp files
* documentation
Have fun!
ps. I expect some more public full nodes to be reachable soonish:
https://bitsharestalk.org/index.php/topic,19254.0.html