Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Latest commit

 

History

History
119 lines (91 loc) · 2.76 KB

README.md

File metadata and controls

119 lines (91 loc) · 2.76 KB

Dashboard License GoDoc Unit Tests Docker Go Report Card Vistors

Features

  • Logo
  • Web UI
  • Service discovery
    • Register service
    • Deregister service
  • Health check
  • Configuration service
  • Synchronous communication
    • RPC
    • Stream
  • Asynchronous communication
    • Publish
    • Subscribe

Installation

go install github.com/go-micro/dashboard@latest

Development

Server

Swagger

swagger generate spec -o docs/swagger.json -b ./docs
swag init

Config

default username: admin
default password: micro
ENV
export SERVER_ADDRESS=:8082
export SERVER_AUTH_USERNAME=user
export SERVER_AUTH_PASSWORD=pass
YAML
export CONFIG_TYPE=yaml
server:
  env: "dev"
  address: ":8082"
  swagger:
    host: "localhost:8082"
TOML
export CONFIG_TYPE=toml
[server]
env = "dev"
address = ":8082"
[server.swagger]
host = "localhost:8082"

Web UI

Document

Generate Web Files

go install github.com/UnnoTed/fileb0x@latest
fileb0x b0x.yaml

Docker

docker run -d --name micro-dashboard -p 8082:8082 xpunch/go-micro-dashboard:latest

Docker Compose

docker-compose -f docker-compose.yml up -d

Kubernetes

kubectl apply -f deployment.yaml

Community

Screen Shots

Login Dashboard Services Service Detail Nodes Request

License

Apache License 2.0