application.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. spring:
  2. profiles:
  3. active: dev-private
  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: 3024MB
  21. max-request-size: 3024MB
  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. idleConnectionTime: 1000
  31. cache:
  32. expire:
  33. duration: 86400
  34. agency: 7
  35. green:
  36. manager:
  37. id: 99222
  38. agency:
  39. id: 99231
  40. square:
  41. index:
  42. count: 6
  43. task:
  44. count: 6
  45. project:
  46. count: 6
  47. private:
  48. cloud:
  49. # 导入私有云的项目code以此开头
  50. master: MASTER
  51. task:
  52. type:
  53. code: MzZC
  54. publish:
  55. project:
  56. id: 20471
  57. upload:
  58. chunkSize: 5 #单位为M
  59. chunkMaxPartCount: 10000 #文件上传大小上限为:chunkSize * chunkMaxPartCount
  60. thread:
  61. maxSize: 25
  62. queue:
  63. maxSize: 100
  64. root:
  65. dir: /Users/guochao/Desktop/project/data/cofortest/
  66. window: #window系统指定盘符
  67. root: D:/
  68. feature:
  69. import:
  70. task: true
  71. ---
  72. spring:
  73. profiles: dev-online
  74. datasource:
  75. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-online?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  76. username: mooctest
  77. password: secr3t!
  78. redis:
  79. host: 59.42.10.53
  80. port: 6379
  81. password: '#2019@callforttest@!'
  82. jedis:
  83. pool:
  84. max-active: 8
  85. max-idle: 8
  86. max-wait: -1
  87. min-idle: 0
  88. database: 6
  89. user:
  90. service:
  91. baseUrl: http://59.42.10.53:8081
  92. #file:
  93. # save:
  94. # path: /var/www/
  95. file:
  96. save:
  97. path: /Users/guochao/Desktop/project/data/cofortest/
  98. #feature:
  99. # client:
  100. # oss: true
  101. feature:
  102. client:
  103. oss: false
  104. website:
  105. domain: mooctest.net
  106. ---
  107. # 开发-私有版
  108. spring:
  109. profiles: dev-private
  110. datasource:
  111. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-private?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  112. username: mooctest
  113. password: secr3t!
  114. redis:
  115. host: 59.42.10.53
  116. port: 6379
  117. password: '#2019@callforttest@!'
  118. jedis:
  119. pool:
  120. max-active: 8
  121. max-idle: 8
  122. max-wait: -1
  123. min-idle: 0
  124. database: 6
  125. user:
  126. service:
  127. baseUrl: http://59.42.10.53:8081
  128. #file:
  129. # save:
  130. # path: /var/www/
  131. file:
  132. save:
  133. path: /Users/guochao/Desktop/project/data/cofortest/
  134. #feature:
  135. # client:
  136. # oss: true
  137. feature:
  138. client:
  139. oss: false
  140. website:
  141. domain: mooctest.net
  142. ---
  143. spring:
  144. profiles: private-cloud
  145. datasource:
  146. url: jdbc:mysql://mysql:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  147. username: root
  148. password: Customs2019
  149. redis:
  150. host: redis
  151. port: 6379
  152. password:
  153. jedis:
  154. pool:
  155. max-active: 8
  156. max-idle: 8
  157. max-wait: -1
  158. min-idle: 0
  159. database: 0
  160. feature:
  161. client:
  162. oss: false
  163. file:
  164. save:
  165. path: /var/www/
  166. user:
  167. service:
  168. baseUrl: http://crowd_user:8081
  169. private:
  170. cloud:
  171. # 导入私有云的项目code以此开头
  172. master: MASTER
  173. task:
  174. type:
  175. code: MzZC
  176. publish:
  177. project:
  178. id: 4
  179. website:
  180. domain: 127.0.0.1
  181. ---
  182. spring:
  183. profiles: private-cloud-localhost
  184. datasource:
  185. url: jdbc:mysql://127.0.0.1:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  186. username: root
  187. password: Customs2019
  188. redis:
  189. host: 127.0.0.1
  190. port: 6379
  191. password:
  192. jedis:
  193. pool:
  194. max-active: 8
  195. max-idle: 8
  196. max-wait: -1
  197. min-idle: 0
  198. database: 0
  199. feature:
  200. client:
  201. oss: false
  202. file:
  203. save:
  204. path: /Users/guochao/Desktop/project/data/cofortest/
  205. user:
  206. service:
  207. baseUrl: http://127.0.0.1:8081
  208. # baseUrl: http://59.42.10.53:8081
  209. website:
  210. domain: 127.0.0.1
  211. private:
  212. cloud:
  213. # 导入私有云的项目code以此开头
  214. master: MASTER
  215. task:
  216. type:
  217. code: MzZC
  218. publish:
  219. project:
  220. id: 4
  221. ---
  222. spring:
  223. profiles: dev-localhost
  224. datasource:
  225. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  226. username: mooctest
  227. password: secr3t!
  228. redis:
  229. host: 59.42.10.53
  230. port: 6379
  231. password: '#2019@callforttest@!'
  232. jedis:
  233. pool:
  234. max-active: 8
  235. max-idle: 8
  236. max-wait: -1
  237. min-idle: 0
  238. database: 6
  239. feature:
  240. client:
  241. oss: true
  242. file:
  243. save:
  244. path: http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/
  245. user:
  246. service:
  247. # baseUrl: http://127.0.0.1:8081
  248. baseUrl: http://59.42.10.53:8081
  249. website:
  250. domain: mooctest.net
  251. ---
  252. spring:
  253. profiles: pre
  254. datasource:
  255. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-pre?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  256. username: mooctest
  257. password: secr3t!
  258. redis:
  259. host: 10.18.18.50
  260. port: 6379
  261. password: '#2019@callforttest@!'
  262. jedis:
  263. pool:
  264. max-active: 8
  265. max-idle: 8
  266. max-wait: -1
  267. min-idle: 0
  268. database: 6
  269. user:
  270. service:
  271. baseUrl: http://10.18.18.50:8081
  272. feature:
  273. client:
  274. oss: true
  275. website:
  276. domain: mooctest.net
  277. ---
  278. spring:
  279. profiles: dev-online-localhost
  280. datasource:
  281. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-online?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  282. username: mooctest
  283. password: secr3t!
  284. redis:
  285. host: 114.55.91.27
  286. port: 6379
  287. password: '#03#05@ise@mooctest'
  288. jedis:
  289. pool:
  290. max-active: 8
  291. max-idle: 8
  292. max-wait: -1
  293. min-idle: 0
  294. database: 6
  295. user:
  296. service:
  297. baseUrl: http://127.0.0.1:8081
  298. file:
  299. save:
  300. path: /var/www/
  301. feature:
  302. client:
  303. oss: true
  304. website:
  305. domain: mooctest.net
  306. ---
  307. spring:
  308. profiles: pre-online
  309. datasource:
  310. url: jdbc:mysql://10.18.18.50:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  311. username: root
  312. password: callfortest_crowd
  313. redis:
  314. host: 10.18.18.50
  315. port: 6379
  316. password: '#2019@callforttest@!'
  317. jedis:
  318. pool:
  319. max-active: 8
  320. max-idle: 8
  321. max-wait: -1
  322. min-idle: 0
  323. database: 0
  324. feature:
  325. client:
  326. oss: true
  327. file:
  328. save:
  329. path: /var/www/
  330. user:
  331. service:
  332. baseUrl: http://user.cofortest.com:8081
  333. website:
  334. domain: cofortest.com
  335. ---
  336. spring:
  337. profiles: online
  338. datasource:
  339. url: jdbc:mysql://8.134.32.27:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  340. username: root
  341. password: callfortest_crowd
  342. redis:
  343. host: 8.134.32.27
  344. port: 6379
  345. password: '#2019@callforttest@!'
  346. jedis:
  347. pool:
  348. max-active: 8
  349. max-idle: 8
  350. max-wait: -1
  351. min-idle: 0
  352. database: 0
  353. feature:
  354. client:
  355. oss: true
  356. file:
  357. save:
  358. path: /var/www/
  359. user:
  360. service:
  361. # baseUrl: http://59.42.10.53
  362. baseUrl: http://user.cofortest.com:8081
  363. website:
  364. domain: cofortest.com