bootstrap.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. server:
  2. port: 9010
  3. tomcat:
  4. uri-encoding: utf-8
  5. # 注册中心配置
  6. eureka:
  7. client:
  8. service-url:
  9. defaultZone: http://172.16.0.4:9711/eureka/
  10. instance:
  11. prefer-ip-address: true
  12. # 每隔10s发送一次心跳(默认30s)
  13. lease-renewal-interval-in-seconds: 10
  14. # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
  15. lease-expiration-duration-in-seconds: 30
  16. mybatis:
  17. config-location: classpath:mybatis/mybatis-config.xml
  18. spring:
  19. application:
  20. name: depot-qualitycheck
  21. # 数据库配置
  22. datasource:
  23. type: com.alibaba.druid.pool.DruidDataSource
  24. url: jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=ol_gbasedbt1210;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
  25. username: gbasedbt
  26. password: cDbK2S0go8
  27. # url: jdbc:gbasedbt-sqli://111.164.113.172:666/depot:INFORMIXSERVER=gbaseserver;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
  28. # username: gbasedbt
  29. # password: GBase123
  30. driver-class-name: com.gbasedbt.jdbc.IfxDriver
  31. # 缓存配置
  32. session:
  33. store-type: redis
  34. redis:
  35. database: 4
  36. host: 172.16.0.46
  37. port: 6679
  38. password: 123456
  39. timeout: 3000
  40. jedis:
  41. pool:
  42. max-active: 8
  43. max-wait: -1
  44. max-idle: 8
  45. min-idle: 0
  46. # 静态资源配置
  47. resources:
  48. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  49. jackson:
  50. date-format: yyyy-MM-dd
  51. time-zone: GMT+8
  52. web:
  53. upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
  54. cxf:
  55. path: /quality
  56. #出入库生成库存接口
  57. crk-webservice: /Base/webServices/StoreChangeServer?wsdl
  58. #省平台倒仓审批接口
  59. report-Url: http://172.16.2.10:88/api