application-prod.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #生产环境
  2. spring:
  3. datasource:
  4. type: com.alibaba.druid.pool.DruidDataSource
  5. driverClassName: oracle.jdbc.OracleDriver
  6. username: HILINK
  7. password: select!#%*(
  8. # url: jdbc:oracle:thin:@erp.hlktech.com:1521:orcl
  9. url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
  10. initialSize: 10
  11. maxActive: 80
  12. minIdle: 10
  13. maxWait: 60000
  14. testOnBorrow: true
  15. testOnReturn: false
  16. testWhileIdle: true
  17. validationQuery: SELECT 1 FROM DUAL
  18. timeBetweenEvictionRunsMillis: 60000
  19. minEvictableIdleTimeMillis: 300000
  20. poolPreparedStatements: true
  21. maxPoolPreparedStatementPerConnectionSize: 80
  22. filters: stat
  23. removeAbandoned: true
  24. removeAbandonedTimeout: 1800
  25. ## Redis 配置
  26. redis:
  27. ## Redis数据库索引(默认为0)
  28. database: 1
  29. ## Redis服务器地址
  30. host: 10.1.80.37
  31. ## Redis服务器连接端口
  32. port: 6379
  33. ## Redis服务器连接密码(默认为空)
  34. password:
  35. jedis:
  36. pool:
  37. ## 连接池最大连接数(使用负值表示没有限制)
  38. #spring.redis.pool.max-active=8
  39. max-active: 8
  40. ## 连接池最大阻塞等待时间(使用负值表示没有限制)
  41. #spring.redis.pool.max-wait=-1
  42. max-wait: -1
  43. ## 连接池中的最大空闲连接
  44. #spring.redis.pool.max-idle=8
  45. max-idle: 8
  46. ## 连接池中的最小空闲连接
  47. #spring.redis.pool.min-idle=0
  48. min-idle: 0
  49. ## 连接超时时间(毫秒)
  50. timeout: 1200
  51. http:
  52. encoding:
  53. force: true
  54. charset: UTF-8
  55. enabled: true
  56. message:
  57. encoding: UTF-8
  58. jpa:
  59. show-sql: false
  60. hibernate:
  61. ddl-auto: update
  62. database: oracle
  63. server:
  64. tomcat:
  65. uri_encoding: UTF-8
  66. port: 8009
  67. context-path: /EIS
  68. action:
  69. api_action: /EIS/api
  70. public_actions: /EIS/logout,/EIS_T/hello1
  71. logging:
  72. level:
  73. org:
  74. hibernate:
  75. type: trace
  76. config: classpath:logback-prod.xml
  77. SECURITY_KEY: 435aMe9L5itTrckY35kfcOQvPkBGZtGo
  78. KEEP: 86400000
  79. extral:
  80. taobao:
  81. serverUrl: http://39.98.201.114:30001/router/rest
  82. appKey: 31921866
  83. appSecret: 7121c52d4c9970ba08bf09e2f525acd0
  84. publicKey: AD81B4DA5940107267B543F3C271810DA8FAF6DF214AA674EBF9DBA70F16CE7B