application.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #spring.profiles.active: private-cloud
  2. spring.profiles.active: dev-online
  3. spring:
  4. mvc:
  5. favicon:
  6. enabled: false
  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. logging:
  16. level:
  17. com.mooctest: debug
  18. pattern:
  19. console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
  20. server.port: 9004
  21. oss:
  22. accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
  23. accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6
  24. endPoint: oss-cn-shanghai.aliyuncs.com
  25. bucketName: mooctest-site
  26. folder: xinchuang
  27. ---
  28. spring:
  29. profiles: dev-online
  30. mongodb:
  31. database: test
  32. host: 121.196.124.158
  33. port: 27117
  34. username: mooctest
  35. password: mooctest
  36. baseUrl:
  37. auditDistribute: http://129.211.185.102:8082/
  38. mooctest: http://101.37.175.111:8191
  39. taskDistribute: http://47.102.206.109:6379/
  40. report:
  41. export: http://47.99.140.117:9002/generateReport
  42. excel: http://localhost:9003/generateReport
  43. host: 127.0.0.1:8090
  44. urlPath: http://47.98.174.59:8100/resourcesXinchuang/
  45. useOss: true
  46. #filePath: /Users/guochao/Desktop/corwd-file/xinchuang/json/
  47. ---
  48. spring:
  49. profiles: private-cloud
  50. mongodb:
  51. database: test
  52. host: 121.196.124.158
  53. port: 27117
  54. username: mooctest
  55. password: mooctest
  56. baseUrl:
  57. auditDistribute: test
  58. mooctest: http://101.37.175.111:8191
  59. taskDistribute: http://47.102.206.109:6379/
  60. report:
  61. export: http://47.99.140.117:9002/generateReport
  62. excel: http://47.98.174.59:8095/generateReport
  63. host: 127.0.0.1:8090
  64. urlPath: http://47.98.174.59:8100/resourcesXinchuang/
  65. useOss: false
  66. filePath: /Users/guochao/Desktop/corwd-file/xinchuang/json/