application.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. spring.profiles.active: dev-test
  2. server:
  3. port: 8081
  4. default:
  5. goto: http://127.0.0.1
  6. login: http://127.0.0.1:8081/page/login
  7. feature:
  8. email: false
  9. foo:
  10. bar
  11. github:
  12. clientId: 4e8e65b7e3bdeee9229b
  13. clientSecret: a77f1ea04c6f370ec2ad295e29f307565658f8c3
  14. loggin:
  15. access:
  16. directory: /home/share/log
  17. config: classpath:log4j2.test.yaml
  18. mail:
  19. default-encoding: UTF-8
  20. host: smtp.126.com
  21. password: xxb19970213
  22. username: diors_po@126.com
  23. mobile:
  24. accountSid: 8a216da872fe1ebf0173047c1477033e
  25. accountToken: 953f4acac52546ae88a350c93d257b9d
  26. appId: 8a216da872fe1ebf0173047c15830345
  27. mybatis:
  28. configuration:
  29. map-underscore-to-camel-case: true
  30. typeAliasesPackage: cn.iselab.mooctest.user.model
  31. oss:
  32. accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
  33. accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6
  34. bucketName: mooctest-user-server
  35. endPoint: http://oss-cn-shanghai.aliyuncs.com
  36. ---
  37. spring:
  38. profiles: private-cloud
  39. cache:
  40. guava:
  41. spec:
  42. expireAfterWrite: 30s
  43. datasource:
  44. driver-class-name: com.mysql.jdbc.Driver
  45. testWhileIdle: true
  46. validationQuery: SELECT 1
  47. url: jdbc:mysql://mysql:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  48. username: root
  49. password: Customs2019
  50. hibernate:
  51. ddl-auto: validate
  52. naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
  53. properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  54. jpa:
  55. show-sql: true
  56. redis:
  57. host: redis
  58. password:
  59. pool:
  60. max-active: 8
  61. max-idle: 8
  62. max-wait: -1
  63. min-idle: 0
  64. port: 6379
  65. thymeleaf:
  66. cache: false
  67. content-type: text/html
  68. encoding: UTF-8
  69. mode: LEGACYHTML5
  70. prefix: classpath:/templates/
  71. suffix: .html
  72. redirect:
  73. url: http://127.0.0.1
  74. website:
  75. domainName: 127.0.0.1
  76. wecaht:
  77. appSecret: f84db4dc62377926624093b49ac3be1f
  78. appId: wx60f06d61f21804be
  79. ---
  80. spring:
  81. profiles: private-cloud-localhost
  82. cache:
  83. guava:
  84. spec:
  85. expireAfterWrite: 30s
  86. datasource:
  87. driver-class-name: com.mysql.jdbc.Driver
  88. testWhileIdle: true
  89. validationQuery: SELECT 1
  90. url: jdbc:mysql://127.0.0.1:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  91. username: root
  92. password: Customs2019
  93. hibernate:
  94. ddl-auto: validate
  95. naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
  96. properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  97. jpa:
  98. show-sql: true
  99. redis:
  100. host: 127.0.0.1
  101. password:
  102. pool:
  103. max-active: 8
  104. max-idle: 8
  105. max-wait: -1
  106. min-idle: 0
  107. port: 6379
  108. thymeleaf:
  109. cache: false
  110. content-type: text/html
  111. encoding: UTF-8
  112. mode: LEGACYHTML5
  113. prefix: classpath:/templates/
  114. suffix: .html
  115. redirect:
  116. url: http://127.0.0.1
  117. website:
  118. domainName: 127.0.0.1
  119. wecaht:
  120. appSecret: f84db4dc62377926624093b49ac3be1f
  121. appId: wx60f06d61f21804be
  122. ---
  123. spring:
  124. profiles: dev-test
  125. cache:
  126. guava:
  127. spec:
  128. expireAfterWrite: 30s
  129. datasource:
  130. driver-class-name: com.mysql.jdbc.Driver
  131. testWhileIdle: true
  132. validationQuery: SELECT 1
  133. url: jdbc:mysql://101.37.175.111:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  134. username: mooctest
  135. password: secr3t!
  136. hibernate:
  137. ddl-auto: validate
  138. naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
  139. properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  140. jpa:
  141. show-sql: true
  142. redis:
  143. host: 127.0.0.1
  144. password:
  145. pool:
  146. max-active: 8
  147. max-idle: 8
  148. max-wait: -1
  149. min-idle: 0
  150. port: 6379
  151. thymeleaf:
  152. cache: false
  153. content-type: text/html
  154. encoding: UTF-8
  155. mode: LEGACYHTML5
  156. prefix: classpath:/templates/
  157. suffix: .html
  158. redirect:
  159. url: http://crowd.dev.mooctest.net/
  160. website:
  161. domainName: 127.0.0.1
  162. wecaht:
  163. appSecret: f84db4dc62377926624093b49ac3be1f
  164. appId: wx60f06d61f21804be