application-prod.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. server:
  2. port: 7654
  3. ssl:
  4. key-store-password: pp8d633l
  5. key-store: classpath:data.cqna.gov.cn.pfx
  6. key-store-type: PKCS12
  7. http:
  8. port: 80
  9. file:
  10. path: D:/na_web_img/
  11. location: D:/na_web_img/upload/
  12. spring:
  13. servlet:
  14. multipart:
  15. max-file-size: 100MB
  16. max-request-size: 500MB
  17. datasource:
  18. driver-class-name: com.mysql.cj.jdbc.Driver
  19. # 线上
  20. url: jdbc:mysql://localhost:3306/nazw?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
  21. username: nanan_hospital
  22. password: WArNNbSUVaxM7sB2
  23. resources:
  24. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.path},file:${file.location}
  25. # url: jdbc:mysql://42.193.98.201:3306/wxdzs?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
  26. redis:
  27. database: 0
  28. host: 192.168.197.128
  29. port: 6379
  30. # password: nan2022!Redis
  31. jedis:
  32. pool:
  33. max-active: 50
  34. max-idle: 20
  35. min-idle: 5
  36. elasticsearch:
  37. ip: localhost:9200
  38. # 索引名
  39. index: elk_article
  40. index2: article_library
  41. logging:
  42. level:
  43. com.example.nngkxxdp: DEBUG,INFO,WARN,ERROR,FATAL