You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dashboard/README.md

2.8 KiB

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