| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # 注册中心配置
- eureka:
- client:
- service-url:
- defaultZone: http://localhost:9001/eureka/
- #register-with-eureka: false
- #fetchRegistry: false
- instance:
- prefer-ip-address: true
- lease-renewal-interval-in-seconds: 10
- lease-expiration-duration-in-seconds: 30
- status-page-url-path: /swagger-ui.html
- spring:
- # 数据库配置
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://172.16.0.36:3306/depot_qh?useUnicode=true&characterEncoding=utf-8
- username: root
- password: admin@1234
- session:
- store-type: redis
- redis:
- database: 0
- host: 172.16.0.36
- port: 6379
- password: admin@1234
- timeout: 3000ms
- jedis:
- pool:
- max-active: 8
- max-wait: -1ms
- max-idle: 8
- min-idle: 0
- # 静态资源配置
- resources:
- static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
- servlet:
- multipart:
- max-file-size: 20MB
- max-request-size: 20MB
- # 缓存配置 host: redis-depot
- web:
- upload-path: /home
- api:
- safety:
- host: localhost
- port: 8765
- reportUrl: http://101.36.160.140:8097
- logging:
- level:
- com.chinaitop.depot.risk.mapper: debug
-
- jsgjjsjUrl: http://localhost:9022/recPublish/sendMessage
-
|