huanghongfa
2021-10-08 6424521a768125e66b64a23d2094e05eb95b105f
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
 
server:
  port: 8193
  servlet:
    encoding:
      force-response: true #中文乱码
 
eureka:
  instance:
    preferIpAddress: true
  client:
    serviceUrl:
      defaultZone: http://${EUREKA_URL:localhost}:8192/eureka
 
spring:
  application:
    name: config
 
  cloud:
    config:
      server:
        git:
          uri: http://gitlab.nhys.cdnhxx.com/huanghongfa/config-repo.git
#          search-paths: adminConfig
          username: huanghongfa
          password: huanghongfa123456
#          basedir: F:\nahan\config-repo\config-repo
 
management:
  endpoints:
    web:
      exposure:
        include: '*'
 
  endpoint:
    health:
      show-details: always
 
  metrics:
    tags:
      application: config