Explorar o código

chore: change Grafana port from 3000 to 3100 to avoid port conflict

kinglee hai 1 semana
pai
achega
e4c8125c86

+ 2 - 2
docker-compose/docker-compose.external-observability.yaml

@@ -52,9 +52,9 @@ services:
     container_name: maas-base-grafana
     restart: unless-stopped
     ports:
-      - "3000:3000"
+      - "3100:3100"
     environment:
-      GF_SERVER_HTTP_PORT: "3000"
+      GF_SERVER_HTTP_PORT: "3100"
       GF_SECURITY_ADMIN_USER: admin
       GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_PASSWORD:-grafana}
       GF_FEATURE_TOGGLES_ENABLE: flameGraph traceqlSearch traceQLStreaming correlations metricsSummary traceqlEditor traceToMetrics traceToProfiles

+ 2 - 2
docs/deployment/docker-compose.md

@@ -94,7 +94,7 @@ GPUSTACK_VERSION=$(git -C .. rev-parse --short HEAD) docker compose -f docker-co
 |------|------|---------|
 | MaaS-Base UI | `http://<服务器IP>:80` | admin / 初始密码 |
 | Prometheus | `http://<服务器IP>:9090` | 无 |
-| Grafana | `http://<服务器IP>:3000` | admin / grafana |
+| Grafana | `http://<服务器IP>:3100` | admin / grafana |
 
 ### 4. 获取初始管理员密码
 
@@ -164,7 +164,7 @@ volumes:
 | `80` | Server API | REST API、Web UI、模型推理接口 |
 | `10161` | Server Metrics | Prometheus 抓取指标 |
 | `9090` | Prometheus | Prometheus Web UI |
-| `3000` | Grafana | Grafana 监控面板 |
+| `3100` | Grafana | Grafana 监控面板 |
 
 > **安全建议:** 生产环境中建议仅开放 `80` 端口,其他端口通过反向代理或内网访问。