application.yml 7.5 KB

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