application.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. spring.profiles.active: private-cloud
  2. spring:
  3. mvc:
  4. favicon:
  5. enabled: false
  6. # thymeleaf
  7. thymeleaf:
  8. prefix: classpath:/templates/
  9. check-template-location: true # 这个可以不配置,检查模板位置
  10. suffix: .html
  11. encoding: UTF-8
  12. content-type: text/html
  13. mode: HTML5
  14. cache: false #避免改了模版还要重启服务器
  15. ---
  16. spring:
  17. profiles: dev
  18. thymeleaf:
  19. cache: false
  20. mongodb1.database: crowd_review
  21. mongodb1.host: 127.0.0.1
  22. mongodb1.port: 27017
  23. mongodb2.database: co-report
  24. mongodb2.host: 127.0.0.1
  25. mongodb2.port: 27017
  26. report.export.addr: http://47.99.140.117:9002/generateReport
  27. report.export.excel.addr: http://47.99.140.117:9003/generateReport
  28. task.info.addr: http://47.99.140.117:9001/Bug/api/extra/getExamList
  29. server:
  30. port: 9004
  31. # port: 8090
  32. logging:
  33. level:
  34. com.mooctest: debug
  35. pattern:
  36. console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
  37. ---
  38. spring:
  39. profiles: test
  40. thymeleaf:
  41. cache: false
  42. server:
  43. port: 9004
  44. # port: 8090
  45. logging:
  46. level:
  47. com.mooctest: debug
  48. pattern:
  49. console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
  50. ---
  51. spring:
  52. profiles: private-cloud
  53. thymeleaf:
  54. cache: false
  55. task:
  56. info:
  57. addr: http://47.98.174.59:8100/Bug/api/extra/getExamList
  58. distribute:
  59. url: test
  60. server:
  61. port: 9004
  62. report.host: 47.98.174.59:8100
  63. audit:
  64. distribute:
  65. addr: test
  66. mooctest:
  67. host: http://101.37.175.111:8191
  68. report.export.addr: http://47.99.140.117:9002/generateReport
  69. report.export.excel.addr: http://47.98.174.59:8095/generateReport
  70. mongodb1.database: crowd_review_enterprise
  71. mongodb1.host: 47.98.174.59
  72. mongodb1.port: 27017
  73. mongodb1.username: root
  74. mongodb1.password: 123456
  75. mongodb2.database: co-enterprise
  76. mongodb2.host: 47.98.174.59
  77. mongodb2.port: 27017
  78. mongodb2.username: root
  79. mongodb2.password: 123456
  80. useOss: false
  81. filePath: /xinchuang/data/
  82. urlPath: http://47.98.174.59:8100/resourcesXinchuang/
  83. logging:
  84. level:
  85. com:
  86. mooctest: debug
  87. pattern:
  88. console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
  89. ---