| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- server:
- port: 9011
- tomcat:
- uri-encoding: utf-8
- # 注册中心配置
- eureka:
- client:
- service-url:
- defaultZone: http://172.16.0.46:9711/eureka/
- instance:
- prefer-ip-address: true
- # 每隔10s发送一次心跳(默认30s)
- lease-renewal-interval-in-seconds: 10
- # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
- lease-expiration-duration-in-seconds: 30
- spring:
- application:
- name: depot-number-manage
- # 数据库配置
- datasource:
- driverClassName: com.mysql.jdbc.Driver
- url:jdbc:mysql://101.36.160.140:21029/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
- username: root
- password: 123456
- # 缓存配置
- session:
- store-type: redis
- redis:
- database: 2
- host: 172.16.0.46
- port: 6679
- password:
- timeout: 3000
- jedis:
- pool:
- max-active: 8
- max-wait: -1
- max-idle: 8
- min-idle: 0
- servlet:
- multipart:
- max-file-size: 10Mb
- max-request-size: 10Mb
- # 静态资源配置
- resources:
- static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
- jackson:
- date-format: yyyy-MM-dd
- time-zone: GMT+8
- web:
- upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
|