Blockchain Based Asset Transfer Application
The asset transfer application can be accessed from this link.
http://hlf-k8.tk
The swagger ui can be accessed from this link.
http://api.hlf-k8.tk/api-docs
The hyperledger explorer dashboard can be accessed from this link.
http://explorer.hlf-k8.tk
You can login to hyperledger explorer with these credentials.
Username | Password |
---|---|
admin | adminpw |
The grafana dashboard can be accessed from this link.
http://grafana.hlf-k8.tk
You can login to grafana with these credentials.
Username | Password |
---|---|
admin | adminpw |
-
Kubernetes 1.12+
-
Nfs Server
-
Ingress Controller
-
Minimum 8 cpu
-
Minimum 10 GB Ram
Edit these files according to your nfs server configuration.
Replace 192.168.12.9 with your nfs server ip
Replace /srv/kubedata with your nfs sharing path
Paths of the files to be edited
deploy/k8s/pv/fabricfiles-pv.yaml
deploy/k8s/pv/kafka-pv.yaml
deploy/k8s/pv/zookeeper-pv.yaml
deploy/setup/copy_fabricfiles.sh
deploy/setup/create_fabric_dir.sh
Copy deploy folder to your nfs server.
Go the path of deploy folder,run these scripts on your nfs server.
cd deploy/setup/nfs-server-setup
sudo chmod u+x *.sh
./create_fabric_dir.sh
./copy_fabricfiles.sh
cd deploy/k8s
sudo chmod u+x *.sh
./install.sh
- Vagrant 2.2+
- Virtualbox or Hyperv
- Minimum 8 cpu
- Minimum 10 GB Ram
cd deploy
vagrant up
vagrant ssh nfsserver
cd /vagrant/setup/nfs-server-setup
sudo chmod u+x *.sh
sudo ./install_nfs.sh
./create_fabric_dir.sh
./copy_fabricfiles.sh
exit
vagrant ssh haproxy
cd /vagrant/setup/haproxy-setup
sudo chmod u+x *.sh
sudo ./install_haproxy.sh
exit
vagrant ssh k8smaster
cd /vagrant/setup/kubernetes-setup
sudo chmod u+x *.sh
./install-prereqs.sh
cd /vagrant/k8s
sudo chmod u+x *.sh
./install.sh
- Go 1.14.6
- Node.js 12
- Angular 8.2.14
- Kafka
- Hyperledger Fabric 2.3
- Couchdb
- Hyperledger Explorer 1.1.8
- Swagger
- Docker
- Kubernetes
- Vagrant
Şuayb Şimşek - @linkledin - suaybsimsek58@gmail.com
Project Link: https://github.com/susimsek/hlf-k8s-fullstack-blockchain-app