Implementation of the Peters Byzantine Fault Tolerant Algorithm
(Actually it stands for Practical Byzantine Fault Tolerant)
You need Docker installed.
$ docker-compose up
However, because some services need longer to start it is best to start them in the following order:
-
Database and Database browser
$ docker-compose up -d postgres postgres_browser
-
The API
$ docker-compose up -d api
-
Start the web GUI
$ docker-compose up -d web
-
Scale the nodes to use 4 instances
$ docker-compose scale node=4
-
Start the nodes
$ docker-compose up -d node
-
Stop & reset everything
$ docker-compose down
- Remove unused containers:
$ docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
- Remove unused containers:
Assuming your docker is publishing it's ports on localhost
.
Server | URL |
---|---|
API | http://localhost:80/ |
Database | http://localhost:8080/phppgadmin/ |
Web GUI | http://localhost:8000/src/ |