mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
server:
  port: 6193
  servlet:
    encoding:
      force-response: true #中文乱码
 
eureka:
  instance:
    preferIpAddress: true
  client:
    serviceUrl:
      defaultZone: http://${EUREKA_URL:localhost}:8192/eureka
 
spring:
  application:
    name: huacheng-config
 
  cloud:
    config:
      server:
        git:
          uri: http://gitlab.nhys.cdnhxx.com:9380/huanghongfa/config-repo.git
#          search-paths: adminConfig
          username: huanghongfa
          password: huanghongfa123456
          default-label: huacheng
#          basedir: F:\nahan\config-repo\config-repo
 
#spring:
#  application:
#    name: huacheng-config
#  profiles:
#    active: native
#  cloud:
#    config:
#      server:
#        native:
#          search-locations: file:E:\\work\\config\\config-repo
 
management:
  endpoints:
    web:
      exposure:
        include: '*'
 
  endpoint:
    health:
      show-details: always
 
  metrics:
    tags:
      application: huacheng-config