Blame view

service-api/src/main/resources/application-zihao.yml 1009 Bytes
88e030b7   王彪总   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  eureka:
    instance:
      leaseRenewalIntervalInSeconds: 10
      leaseExpirationDurationInSeconds: 30
      preferIpAddress: true
      instanceId: ${spring.cloud.client.ip-address}:${server.port}
    client:
      serviceUrl:
        defaultZone: http://dev.java110.com:8761/eureka/
        #defaultZone: http://localhost:8761/eureka/
  server:
    port: 8008
    tomcat:
      uri-encoding: UTF-8
  
  spring:
    servlet:
      multipart:
3d531b98   王彪总   fix(config): 更新配置...
19
20
        maxFileSize: 200MB
        maxRequestSize: 200MB
88e030b7   王彪总   init project
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
53
54
55
56
57
    http:
      encoding:
        charset: UTF-8
        enabled: true
        force: true
    application:
      name: api-service
    redis:
      database: 0
      host: dev.redis.java110.com
      port: 6379
      password: ${redispwd}
      pool:
        max-active: 300
        max-wait: 10000
        max-idle: 100
        min-idle: 0
        timeout: 0
  
  
  
  feign:
    client:
      config:
        default:
          connect-timeout: 10000
          read-timeout: 20000
    httpclient:
      enabled: false
    okhttp:
      enabled: true
  
  
  
  logging:
    level:
      com.java110.core.smo: debug