application-prod.yml 799 B

123456789101112131415161718192021222324252627282930
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://192.168.1.74:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
  4. username: root
  5. password: root_123
  6. druid:
  7. initial-size: 5 #连接池初始化大小
  8. min-idle: 10 #最小空闲连接数
  9. max-active: 20 #最大连接数
  10. web-stat-filter:
  11. exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据
  12. stat-view-servlet: #访问监控网页的登录用户名和密码
  13. login-username: druid
  14. login-password: druid
  15. data:
  16. elasticsearch:
  17. repositories:
  18. enabled: true
  19. elasticsearch:
  20. uris: es:9200
  21. logging:
  22. file:
  23. path: /var/logs
  24. level:
  25. root: info
  26. com.macro.mall: info
  27. logstash:
  28. host: logstash