Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wisdomenigma/micro-peers
Micro peers is a side project where multiple services are connected to network through consul
https://github.com/wisdomenigma/micro-peers
consul go grpc-go
Last synced: 4 days ago
JSON representation
Micro peers is a side project where multiple services are connected to network through consul
- Host: GitHub
- URL: https://github.com/wisdomenigma/micro-peers
- Owner: WisdomEnigma
- License: mpl-2.0
- Created: 2022-05-06T16:00:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T03:07:14.000Z (over 1 year ago)
- Last Synced: 2024-06-20T11:55:54.810Z (5 months ago)
- Topics: consul, go, grpc-go
- Language: Go
- Homepage:
- Size: 11.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# micro-peers
Micro peers is a side project where multiple services are connected to network through consul.
These services communicate with each other and also discover other services. In future we will add more services that will discover other services and share data arcoss data centers# Consul Node :
consul agent -dev -node=machine
Consul agent initate on your system.Consul run through configuration files
consul agent -dev -config-dir=./web.json -node=machineCheckout your consul dns information
dig @127.0.0.1 -p 8600 service_name.service.consul# How to run app
- 👀 forking the project
- 👽 Another terminal Ctrl+T and type cd client/ && go run main.go
- 💻 Open terminal Ctrl+T and run go run main.go# RUN CONSUL :
- 👀 fork the project and type ctrl+ t ; then cd consul
- 😘 consul agent -dev -config-dir=./web.json -node=machinecheck on 127.0.0.1:8500