application-prod.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. server:
  2. port: ${PORT:18400}
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. enabled: true
  8. codec:
  9. max-in-memory-size: -1
  10. application:
  11. name: mainFactory
  12. spring:
  13. mvc:
  14. view:
  15. prefix: /
  16. suffix: .html
  17. log:
  18. url: jdbc:mysql://120.26.64.82:3306/yq_2.0
  19. title: root
  20. cipher: 123@bigdata
  21. type: com.mysql.cj.jdbc.Driver
  22. mydb:
  23. url: ${MYDB_URL:jdbc:mysql://10.211.66.16:3163/DISACenter_2}
  24. title: ${MYDB_USER:root}
  25. cipher: ${MYDB_PASSWD:QtrmuqDw^bJu$}
  26. type: ${MYDB_DRIVER:com.mysql.cj.jdbc.Driver}
  27. serviceURL: ${MY_SERVICE_URL:127.0.0.1:8080}
  28. #isEs:
  29. # open: true
  30. # scheme: http
  31. # hostname: 120.26.64.82
  32. # port: 9200
  33. # auth: false
  34. # username: ""
  35. # password: ""
  36. # successIndexName: "success_log_center2"
  37. # errorIndexName: "error_log_center2"
  38. baseConfig:
  39. sourceData : true
  40. isEs:
  41. open: false
  42. scheme: http
  43. hostname: 10.211.67.175
  44. port: 9201
  45. auth: true
  46. username: "elastic"
  47. password: "TUihk5^a0J+GkI4!4"
  48. successIndexName: "success_log_center"
  49. errorIndexName: "error_log_center"
  50. service:
  51. pool:
  52. maxPoolSize: 512
  53. corePoolSize: 6
  54. queueCapacity: 1024
  55. keepAliveSeconds: 60
  56. threadNamePrefix: logthreadpool
  57. waitForTasksToCompleteOnShutdown: true