application.yml 5.4 KB

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