Commit 6700ed23 authored by Your Name's avatar Your Name

update docker compose

parent 39d5e97c
version: "3.9"
services:
monitor.multi:
monitor.smi:
image: docker.ai.17xuexi.com/monitorapi/monitor-smi:latest
network_mode: host
privileged: true
......
package main
import (
"flag"
"fmt"
"log"
......@@ -12,24 +11,6 @@ import (
)
func main() {
//ExampleAPI_query()
promethAddr := flag.String("promethaddr", "http://127.0.0.1:9090", "a string parameter")
flag.Parse()
//cli, err := NewProCli("http://192.168.1.21:9090")
fmt.Println("connect to prometh addr-----------", *promethAddr)
//cli, err := NewProCli("http://192.168.1.21:9090")
// cli, err := NewProCli(*promethAddr)
// if err != nil {
// fmt.Println(err.Error())
// return
// }
// Initialize a new Fiber app
app := fiber.New()
app.Use(cors.New())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment