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
spring:
  application:
    name: huacheng-communitybackstage
  cloud:
    config:
      discovery:
        enabled: true
        service-id: huacheng-config  # 注册中心的服务名
      profile: ${ENV:prod}  # 指定配置文件的环境
      uri: http://${CONFIG_URL:localhost}:6193/
  profiles:
    active: ${ENV:prod}
  servlet:
    multipart:
      max-file-size: 200MB
      max-request-size: 200MB
 
eureka:
  client:
    service-url:
      defaultZone: http://${EUREKA_URL:localhost}:8192/eureka
 
management:
  endpoints:
    web:
      exposure:
        include: '*'
 
  endpoint:
    health:
      show-details: always
 
  metrics:
    tags:
      application: huacheng-communitybackstage
 
springfox:
  documentation:
    swagger-ui:
      enabled: false
    auto-startup: false