application.yml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. spring:
  2. profiles:
  3. active: dev-localhost
  4. cache:
  5. guava:
  6. spec: expireAfterWrite=30s
  7. datasource:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. testWhileIdle: true
  10. validationQuery: SELECT 1
  11. jpa:
  12. show-sql: true
  13. hibernate:
  14. ddl-auto: validate
  15. naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
  16. properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  17. servlet:
  18. multipart:
  19. enabled: true
  20. max-file-size: 100MB
  21. max-request-size: 100MB
  22. oss:
  23. accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
  24. accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6
  25. endPoint: oss-cn-hangzhou.aliyuncs.com
  26. bucketName: mooctest-crowd-service
  27. cache:
  28. expire:
  29. duration: 86400
  30. agency: 7
  31. green:
  32. manager:
  33. id: 99222
  34. agency:
  35. id: 99231
  36. ---
  37. spring:
  38. profiles: private-cloud
  39. datasource:
  40. url: jdbc:mysql://mysql:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  41. username: root
  42. password: Customs2019
  43. redis:
  44. host: redis
  45. port: 6379
  46. password:
  47. jedis:
  48. pool:
  49. max-active: 8
  50. max-idle: 8
  51. max-wait: -1
  52. min-idle: 0
  53. database: 0
  54. # redis:
  55. # host: redis
  56. # password:
  57. # pool:
  58. # max-active: 8
  59. # max-idle: 8
  60. # max-wait: -1
  61. # min-idle: 0
  62. # port: 6379
  63. feature:
  64. client:
  65. oss: false
  66. file:
  67. save:
  68. path: /var/www/
  69. user:
  70. service:
  71. baseUrl: http://crowd_user:8081
  72. # baseUrl: http://59.42.10.53:8081
  73. website:
  74. domain: 127.0.0.1
  75. ---
  76. spring:
  77. profiles: private-cloud-localhost
  78. datasource:
  79. url: jdbc:mysql://127.0.0.1:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  80. username: root
  81. password: Customs2019
  82. redis:
  83. host: 127.0.0.1
  84. port: 6379
  85. password:
  86. jedis:
  87. pool:
  88. max-active: 8
  89. max-idle: 8
  90. max-wait: -1
  91. min-idle: 0
  92. database: 0
  93. # redis:
  94. # host: 127.0.0.1
  95. # password:
  96. # pool:
  97. # max-active: 8
  98. # max-idle: 8
  99. # max-wait: -1
  100. # min-idle: 0
  101. # port: 6379
  102. feature:
  103. client:
  104. oss: false
  105. file:
  106. save:
  107. path: /Users/guochao/Desktop/project/data/cofortest/
  108. user:
  109. service:
  110. baseUrl: http://127.0.0.1:8081
  111. # baseUrl: http://59.42.10.53:8081
  112. website:
  113. domain: 127.0.0.1
  114. ---
  115. spring:
  116. profiles: dev-localhost
  117. datasource:
  118. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  119. username: mooctest
  120. password: secr3t!
  121. redis:
  122. host: 59.42.10.53
  123. pool: 6379
  124. password: '#2019@callforttest@!'
  125. jedis:
  126. pool:
  127. max-active: 8
  128. max-idle: 8
  129. max-wait: -1
  130. min-idle: 0
  131. database: 6
  132. feature:
  133. client:
  134. oss: true
  135. file:
  136. save:
  137. path: http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/
  138. user:
  139. service:
  140. # baseUrl: http://127.0.0.1:8081
  141. baseUrl: http://59.42.10.53:8081
  142. website:
  143. domain: mooctest.net
  144. ---
  145. spring:
  146. profiles: pre
  147. datasource:
  148. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-pre?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  149. username: mooctest
  150. password: secr3t!
  151. redis:
  152. host: 10.18.18.50
  153. pool: 6379
  154. password: '#2019@callforttest@!'
  155. jedis:
  156. pool:
  157. max-active: 8
  158. max-idle: 8
  159. max-wait: -1
  160. min-idle: 0
  161. database: 6
  162. user:
  163. service:
  164. baseUrl: http://10.18.18.50:8081
  165. feature:
  166. client:
  167. oss: true
  168. website:
  169. domain: mooctest.net
  170. ---
  171. spring:
  172. profiles: dev-online
  173. datasource:
  174. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-online?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  175. username: mooctest
  176. password: secr3t!
  177. redis:
  178. host: 59.42.10.53
  179. pool: 6379
  180. password: '#2019@callforttest@!'
  181. jedis:
  182. pool:
  183. max-active: 8
  184. max-idle: 8
  185. max-wait: -1
  186. min-idle: 0
  187. database: 6
  188. user:
  189. service:
  190. baseUrl: http://59.42.10.53:8081
  191. feature:
  192. client:
  193. oss: true
  194. website:
  195. domain: mooctest.net
  196. ---
  197. spring:
  198. profiles: pre-online
  199. datasource:
  200. url: jdbc:mysql://10.18.18.50:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  201. username: root
  202. password: callfortest_crowd
  203. redis:
  204. host: 10.18.18.50
  205. pool: 6379
  206. password: '#2019@callforttest@!'
  207. jedis:
  208. pool:
  209. max-active: 8
  210. max-idle: 8
  211. max-wait: -1
  212. min-idle: 0
  213. database: 0
  214. feature:
  215. client:
  216. oss: true
  217. user:
  218. service:
  219. baseUrl: http://user.cofortest.com
  220. website:
  221. domain: cofortest.com
  222. ---
  223. spring:
  224. profiles: online
  225. datasource:
  226. url: jdbc:mysql://8.134.32.27:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  227. username: root
  228. password: callfortest_crowd
  229. redis:
  230. host: 8.134.32.27
  231. pool: 6379
  232. password: '#2019@callforttest@!'
  233. jedis:
  234. pool:
  235. max-active: 8
  236. max-idle: 8
  237. max-wait: -1
  238. min-idle: 0
  239. database: 0
  240. feature:
  241. client:
  242. oss: true
  243. user:
  244. service:
  245. baseUrl: http://8.134.32.27:8081
  246. # baseUrl: http://user.cofortest.com
  247. website:
  248. domain: 8.134.32.27
  249. # domain: cofortest.com