Commit 30d6b9fb authored by Your Name's avatar Your Name

dcgm monitor api listen 4000

parent 3dd90e49
......@@ -5,7 +5,7 @@ services:
image: docker.ai.17xuexi.com/monitorapi/monitor.dcgm:v.0.0.2
ports:
- 9093:9090
- 7000:5000
- 4000:4000
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
......
......@@ -287,7 +287,7 @@ func DCGM() {
// })
// Start the server on port 3000
log.Fatal(app.Listen(":5000"))
log.Fatal(app.Listen(":4000"))
}
type Response struct {
......
No preview for this file type
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