application.yml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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: 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. cache:
  31. expire:
  32. duration: 86400
  33. agency: 7
  34. green:
  35. manager:
  36. id: 99222
  37. agency:
  38. id: 99231
  39. private:
  40. cloud:
  41. # 导入私有云的项目code以此开头
  42. master: MASTER
  43. task:
  44. type:
  45. code: MzZC
  46. publish:
  47. project:
  48. id: 20471
  49. ---
  50. spring:
  51. profiles: private-cloud
  52. datasource:
  53. url: jdbc:mysql://mysql:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  54. username: root
  55. password: Customs2019
  56. redis:
  57. host: redis
  58. port: 6379
  59. password:
  60. jedis:
  61. pool:
  62. max-active: 8
  63. max-idle: 8
  64. max-wait: -1
  65. min-idle: 0
  66. database: 0
  67. # redis:
  68. # host: redis
  69. # password:
  70. # pool:
  71. # max-active: 8
  72. # max-idle: 8
  73. # max-wait: -1
  74. # min-idle: 0
  75. # port: 6379
  76. feature:
  77. client:
  78. oss: false
  79. file:
  80. save:
  81. path: /var/www/
  82. user:
  83. service:
  84. baseUrl: http://crowd_user:8081
  85. # baseUrl: http://59.42.10.53:8081
  86. website:
  87. domain: 127.0.0.1
  88. ---
  89. spring:
  90. profiles: private-cloud-localhost
  91. datasource:
  92. url: jdbc:mysql://127.0.0.1:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  93. username: root
  94. password: Customs2019
  95. redis:
  96. host: 127.0.0.1
  97. port: 6379
  98. password:
  99. jedis:
  100. pool:
  101. max-active: 8
  102. max-idle: 8
  103. max-wait: -1
  104. min-idle: 0
  105. database: 0
  106. # redis:
  107. # host: 127.0.0.1
  108. # password:
  109. # pool:
  110. # max-active: 8
  111. # max-idle: 8
  112. # max-wait: -1
  113. # min-idle: 0
  114. # port: 6379
  115. feature:
  116. client:
  117. oss: false
  118. file:
  119. save:
  120. path: /Users/guochao/Desktop/project/data/cofortest/
  121. user:
  122. service:
  123. baseUrl: http://127.0.0.1:8081
  124. # baseUrl: http://59.42.10.53:8081
  125. website:
  126. domain: 127.0.0.1
  127. ---
  128. spring:
  129. profiles: dev-localhost
  130. datasource:
  131. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  132. username: mooctest
  133. password: secr3t!
  134. redis:
  135. host: 59.42.10.53
  136. port: 6379
  137. password: '#2019@callforttest@!'
  138. jedis:
  139. pool:
  140. max-active: 8
  141. max-idle: 8
  142. max-wait: -1
  143. min-idle: 0
  144. database: 6
  145. feature:
  146. client:
  147. oss: true
  148. file:
  149. save:
  150. path: http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/
  151. user:
  152. service:
  153. # baseUrl: http://127.0.0.1:8081
  154. baseUrl: http://59.42.10.53:8081
  155. website:
  156. domain: mooctest.net
  157. ---
  158. spring:
  159. profiles: pre
  160. datasource:
  161. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-pre?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  162. username: mooctest
  163. password: secr3t!
  164. redis:
  165. host: 10.18.18.50
  166. port: 6379
  167. password: '#2019@callforttest@!'
  168. jedis:
  169. pool:
  170. max-active: 8
  171. max-idle: 8
  172. max-wait: -1
  173. min-idle: 0
  174. database: 6
  175. user:
  176. service:
  177. baseUrl: http://10.18.18.50:8081
  178. feature:
  179. client:
  180. oss: true
  181. website:
  182. domain: mooctest.net
  183. ---
  184. spring:
  185. profiles: dev-online-localhost
  186. datasource:
  187. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-online?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  188. username: mooctest
  189. password: secr3t!
  190. redis:
  191. host: 114.55.91.27
  192. port: 6379
  193. password: '#03#05@ise@mooctest'
  194. jedis:
  195. pool:
  196. max-active: 8
  197. max-idle: 8
  198. max-wait: -1
  199. min-idle: 0
  200. database: 6
  201. user:
  202. service:
  203. baseUrl: http://127.0.0.1:8081
  204. file:
  205. save:
  206. path: /var/www/
  207. feature:
  208. client:
  209. oss: true
  210. website:
  211. domain: mooctest.net
  212. ---
  213. spring:
  214. profiles: dev-online
  215. datasource:
  216. url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-online?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  217. username: mooctest
  218. password: secr3t!
  219. redis:
  220. host: 59.42.10.53
  221. port: 6379
  222. password: '#2019@callforttest@!'
  223. jedis:
  224. pool:
  225. max-active: 8
  226. max-idle: 8
  227. max-wait: -1
  228. min-idle: 0
  229. database: 6
  230. user:
  231. service:
  232. baseUrl: http://59.42.10.53:8081
  233. #file:
  234. # save:
  235. # path: /var/www/
  236. file:
  237. save:
  238. path: /Users/guochao/Desktop/project/data/cofortest/
  239. feature:
  240. client:
  241. oss: true
  242. #feature:
  243. # client:
  244. # oss: false
  245. website:
  246. domain: mooctest.net
  247. ---
  248. spring:
  249. profiles: pre-online
  250. datasource:
  251. url: jdbc:mysql://10.18.18.50:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  252. username: root
  253. password: callfortest_crowd
  254. redis:
  255. host: 10.18.18.50
  256. port: 6379
  257. password: '#2019@callforttest@!'
  258. jedis:
  259. pool:
  260. max-active: 8
  261. max-idle: 8
  262. max-wait: -1
  263. min-idle: 0
  264. database: 0
  265. feature:
  266. client:
  267. oss: true
  268. file:
  269. save:
  270. path: /var/www/
  271. user:
  272. service:
  273. baseUrl: http://user.cofortest.com:8081
  274. website:
  275. domain: cofortest.com
  276. ---
  277. spring:
  278. profiles: online
  279. datasource:
  280. url: jdbc:mysql://8.134.32.27:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  281. username: root
  282. password: callfortest_crowd
  283. redis:
  284. host: 8.134.32.27
  285. port: 6379
  286. password: '#2019@callforttest@!'
  287. jedis:
  288. pool:
  289. max-active: 8
  290. max-idle: 8
  291. max-wait: -1
  292. min-idle: 0
  293. database: 0
  294. feature:
  295. client:
  296. oss: true
  297. file:
  298. save:
  299. path: /var/www/
  300. user:
  301. service:
  302. # baseUrl: http://59.42.10.53
  303. baseUrl: http://user.cofortest.com:8081
  304. website:
  305. domain: cofortest.com