application.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. spring.profiles.active: dev
  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. ---
  15. spring:
  16. profiles: dev
  17. thymeleaf:
  18. cache: false
  19. mongodb1.database: crowd_review
  20. mongodb1.host: 127.0.0.1
  21. mongodb1.port: 27017
  22. mongodb2.database: co-report
  23. mongodb2.host: 127.0.0.1
  24. mongodb2.port: 27017
  25. report.export.addr: http://47.99.140.117:9002/generateReport
  26. task.info.addr: http://47.99.140.117:9001/Bug/api/extra/getExamList
  27. server:
  28. port: 8080
  29. # port: 8090
  30. logging:
  31. level:
  32. com.mooctest: debug
  33. pattern:
  34. console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
  35. ---
  36. spring:
  37. profiles: test
  38. thymeleaf:
  39. cache: false
  40. mongodb1.database: ${MONGODB_REVIEW_DB}
  41. mongodb1.host: ${MONGODB_REVIEW_HOST}
  42. mongodb1.port: ${MONGODB_REVIEW_PORT}
  43. mongodb2.database: ${MONGODB_REPORT_DB}
  44. mongodb2.host: ${MONGODB_REPORT_HOST}
  45. mongodb2.port: ${MONGODB_REPORT_PORT}
  46. report.export.addr: ${EXPORT_ADDR}
  47. task.info.addr: ${TASK_ADDR}
  48. server:
  49. port: 8080
  50. # port: 8090
  51. logging:
  52. level:
  53. com.mooctest: debug
  54. pattern:
  55. console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"