application.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. eureka:
  2. client:
  3. serviceUrl:
  4. defaultZone: http://192.168.31.199:8761/eureka/
  5. #defaultZone: http://localhost:8761/eureka/
  6. server:
  7. port: 7001
  8. ssl:
  9. keyStoreType: PKCS12
  10. keyAlias: tomcat
  11. key-store: keystore.p12
  12. key-store-password: 12345678
  13. session:
  14. cookie:
  15. http-only: true
  16. spring:
  17. application:
  18. name: console-service
  19. redis:
  20. database: 0
  21. host: 192.168.31.199
  22. port: 6379
  23. pool:
  24. max-active: 300
  25. max-wait: 10000
  26. max-idle: 100
  27. min-idle: 0
  28. timeout: 0
  29. datasource:
  30. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  31. minIdle: 5
  32. validationQuery: SELECT 1 FROM DUAL
  33. initialSize: 5
  34. maxWait: 60000
  35. filters: stat,wall,log4j
  36. poolPreparedStatements: true
  37. type: com.alibaba.druid.pool.DruidDataSource
  38. url: jdbc:mysql://192.168.31.199:3306/TT
  39. maxPoolPreparedStatementPerConnectionSize: 20
  40. password: TT@12345678
  41. testOnBorrow: false
  42. testWhileIdle: true
  43. minEvictableIdleTimeMillis: 300000
  44. timeBetweenEvictionRunsMillis: 60000
  45. testOnReturn: false
  46. driverClassName: com.mysql.jdbc.Driver
  47. maxActive: 20
  48. username: TT
  49. freemarker:
  50. charset: UTF-8
  51. cache: false
  52. expose-request-attributes: true
  53. request-context-attribute: request
  54. expose-session-attributes: true
  55. content-type: text/html
  56. template-loader-path: classpath:/html/
  57. suffix: .html
  58. check-template-location: true