application-dev.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. server:
  2. port: 7011
  3. servlet:
  4. context-path: /
  5. spring:
  6. main:
  7. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  8. #redis集群
  9. redis:
  10. host: 123.60.213.70
  11. port: 6379
  12. timeout: 100000
  13. # 集群环境打开下面注释,单机不需要打开
  14. # cluster:
  15. # 集群信息
  16. # nodes: xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx
  17. # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
  18. # maxRedirects: 3
  19. password: gdnxfd123
  20. application:
  21. name: test
  22. jedis:
  23. pool:
  24. max-active: 8
  25. min-idle: 0
  26. max-idle: 8
  27. max-wait: -1
  28. database: 0
  29. datasource:
  30. type: com.alibaba.druid.pool.DruidDataSource
  31. driver-class-name: oracle.jdbc.OracleDriver
  32. #外网
  33. url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
  34. username: nxfdprod
  35. password: gdnxfd123
  36. oracle-schema=:
  37. # type: com.alibaba.druid.pool.DruidDataSource
  38. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  39. # username: root
  40. # password: root
  41. # driver-class-name: com.mysql.jdbc.Driver
  42. druid:
  43. max-active: 20
  44. initial-size: 1
  45. min-idle: 3
  46. max-wait: 60000
  47. time-between-eviction-runs-millis: 60000
  48. min-evictable-idle-time-millis: 300000
  49. test-while-idle: true
  50. test-on-borrow: false
  51. test-on-return: false