dongyukun
2024-12-16 ed8fc5f674544d3af63c6f68093ffc038385c493
提交 | 用户 | 时间
e7c126 1 server:
H 2   port: 9111
3 spring:
4   boot:
5     admin:
6       ui:
7         title: Iailab监控中心
8       client:
9         username: admin
10         password: admin
11
12   security:
13     user:
14       name: admin
15       password: admin
16   application:
17     name: monitor-server
18
19   cloud:
20     nacos:
21       server-addr: @nacos.server@
22       username: @nacos.username@
23       password: @nacos.password@
24       discovery:
db3d43 25         namespace: @profiles.active@ # 命名空间。这里使用 dev 开发环境
e7c126 26         metadata:
H 27           version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布
28       metadata:
29         user.name: ${spring.security.user.name}
30         user.password: ${spring.security.user.password}
31
32
33 # 服务端点检查
34 management:
35   server:
36     base-path: /actuator
37   health:
38     mail:
39       enabled: false
40   trace:
41     http:
42       enabled: true
43   endpoints:
44     web:
45       exposure:
46         include: "*"
47   endpoint:
48     health:
49       show-details: always