application_prod_out.yml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. company_add_delete_map: 10.17.17.13:8888
  2. area-show-ip: 10.44.104.12
  3. area-show-port: 80
  4. #area-show-ip: 10.17.17.16
  5. #area-show-port: 6080
  6. resetPassword: 123456
  7. maxFileSize: 5120MB
  8. maxRequestSize: 5120MB
  9. #endpoints:
  10. # health:
  11. # sensitive: false
  12. spring:
  13. jmx:
  14. default-domain: app2
  15. #激活哪一个环境的配置文件
  16. profiles:
  17. # active: dev
  18. # active: test
  19. # active: aliyun
  20. # active: vpn
  21. # active: prod_in
  22. active: prod_out
  23. # active: prod_test
  24. #数据源
  25. datasource:
  26. driver-class-name: com.mysql.jdbc.Driver
  27. # 使用druid数据源
  28. type: com.alibaba.druid.pool.DruidDataSource
  29. # 下面为连接池的补充设置,应用到上面所有数据源中
  30. # 初始化大小,最小,最大
  31. druid:
  32. initialSize: 5
  33. minIdle: 5
  34. maxActive: 20
  35. # 配置获取连接等待超时的时间
  36. maxWait: 60000
  37. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  38. timeBetweenEvictionRunsMillis: 60000
  39. # 配置一个连接在池中最小生存的时间,单位是毫秒
  40. minEvictableIdleTimeMillis: 300000
  41. validationQuery: SELECT 1 FROM DUAL
  42. testWhileIdle: true
  43. testOnBorrow: false
  44. testOnReturn: false
  45. # 打开PSCache,并且指定每个连接上PSCache的大小
  46. poolPreparedStatements: true
  47. maxPoolPreparedStatementPerConnectionSize: 20
  48. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  49. filters: stat,log4j,config
  50. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  51. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000;config.decrypt=true;config.decrypt.key=${publicKey}
  52. filter:
  53. wall:
  54. enabled: true
  55. config:
  56. # 开启批量提交
  57. multi-statement-allow: true
  58. # 合并多个DruidDataSource的监控数据
  59. #useGlobalDataSourceStat: true
  60. #Druid监控web配置
  61. web-stat-filter:
  62. url-pattern: /*
  63. # exclusions: *.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*
  64. stat-view-servlet:
  65. url-pattern: /admin/sys/monitor/druid/*
  66. #设置白名单
  67. # allow: 10.105.0.220
  68. #设置黑名单
  69. deny:
  70. #设置登录查看信息的账号密码
  71. # login-username: admin
  72. # login-password: admin
  73. #视图
  74. mvc:
  75. view:
  76. prefix: /templates/
  77. suffix: .html
  78. #thymeleaf模版
  79. thymeleaf:
  80. cache: false
  81. mode: HTML
  82. encoding: UTF-8
  83. content-type: text/html
  84. #文件上传配置
  85. http:
  86. multipart:
  87. #开启文件上传
  88. enabled: true
  89. file-size-threshold: 0
  90. #懒加载
  91. resolve-lazily: true
  92. #单个文件的大小限制
  93. max-file-size: 300MB
  94. #整个请求文件的大小限制
  95. max-request-size: 300MB
  96. #jackson配置
  97. jackson:
  98. # 属性为NULL 不序列化
  99. default-property-inclusion: non_null
  100. # 解决数据库与jvm时区相差8小时的问题
  101. time-zone: GMT+8
  102. #mybatis
  103. mybatis:
  104. #指定目录类型别名扫描
  105. # type-aliases-package: platform.entity
  106. #指定mapper.xml的位置
  107. mapper-locations: classpath:mapper/**/*.xml
  108. configuration:
  109. #开启驼峰命名法转换字段支持,用于对象关系绑定
  110. map-underscore-to-camel-case: false
  111. #通用mapper
  112. mapper:
  113. mappers:
  114. platform.common.base.mapper.BaseMapper
  115. not-empty: false
  116. identity: MYSQL
  117. #分页插件
  118. pagehelper:
  119. helperDialect: mysql
  120. reasonable: true
  121. supportMethodsArguments: true
  122. params: count=countSql
  123. #测试小程序
  124. ##app_id
  125. #app_id: wx3007d6086b29908c
  126. #
  127. ##app_sercet
  128. #app_sercet: 68245dbd037f7516bcbe0eeafc1e01a9
  129. # 正式小程序
  130. #app_id
  131. app_id: wx27a06edbe6042585
  132. #app_sercet
  133. app_sercet: 10a09d22fb48ba84f892bbde056dac06
  134. activity_page_path_detail: pages/activity/activityDetail/main
  135. activity_page_path_sign: pages/activity/signInDetail/main
  136. ---
  137. #开发环境配置
  138. server:
  139. #端口
  140. port: 8080
  141. context-path: /myboot
  142. spring:
  143. profiles: dev
  144. #数据源
  145. datasource:
  146. url: jdbc:mysql://192.168.1.115:3306/service_platform?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
  147. username: root
  148. password: ${password}
  149. #redis
  150. redis:
  151. host: 192.168.1.115
  152. password:
  153. port: 6379
  154. pool:
  155. max-idle: 300
  156. min-idle: 20
  157. max-active: 600
  158. max-wait: 2000
  159. #日志
  160. logging:
  161. config: classpath:logback-jk.xml
  162. # path: /Users/luohaifeng/logs
  163. #数据库密码加密
  164. #java -cp druid-1.1.0.jar com.alibaba.druid.filter.config.ConfigTools 你的密码
  165. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIYbzRqmoxLzAPpQer64U9MI+2WQOHMMl6BsYvSfBVodl2VjosyLSFDTu9UKYNh8P7cDujohKjc8GDiH6i/wq08CAwEAAQ==
  166. password: WD7ZuG4T27mDBFRXye2IfZZgrDsmPCtkMDfj8fGss8Iz/4aF27TLznaZ2mUbU273q5spfMzqUTmCiR1GvXZRMA==
  167. #上传文件配置信息
  168. #文件仓库地址
  169. repositoryPath: /opt/xinqu_pic
  170. #新区接口地址
  171. api_url: http://snd.ideatob.com/mp/api/
  172. #apk文件存放地址
  173. apk_url: E:\UPLOAD\
  174. #访问路径
  175. fileUrl: http://192.168.1.116:8001/uploads
  176. #域名
  177. service_name: 127.0.0.1
  178. #key
  179. carrier_hash_key: industrial_carrier_token
  180. ---
  181. #test环境配置
  182. server:
  183. #端口
  184. port: 8080
  185. context-path: /myboot
  186. spring:
  187. profiles: test
  188. #数据源
  189. datasource:
  190. url: jdbc:mysql://192.168.1.115:3306/service_platform_42_backup?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
  191. username: root
  192. password: ${password}
  193. #redis
  194. redis:
  195. host: 192.168.1.115
  196. password:
  197. port: 6379
  198. pool:
  199. max-idle: 300
  200. min-idle: 20
  201. max-active: 600
  202. max-wait: 2000
  203. #日志
  204. logging:
  205. config: classpath:logback-jk.xml
  206. # path: /logs
  207. #数据库密码加密
  208. #java -cp druid-1.1.0.jar com.alibaba.druid.filter.config.ConfigTools 你的密码
  209. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALA0LQXJvedvvS14LNKRXjLKOaudFAZILec5nturiNsRV7rK0FkSdXAlf7odQb9nZtDai+Bfn/4zC52xMr+KL6sCAwEAAQ==
  210. password: hTeoaFouO30aePF/U0NVf6bZCqh31q//05vP+uC7KnNDW2R3MOaQyEbzigzUVFEzVgZDtB+8FKllETyPfK3tUw==
  211. #上传文件配置信息
  212. #文件仓库地址
  213. repositoryPath: E:\UPLOAD\
  214. #新区接口地址
  215. api_url: http://snd.ideatob.com/mp/api/
  216. #apk文件存放地址
  217. apk_url: E:\UPLOAD\
  218. #访问路径
  219. fileUrl: http://10.43.26.201
  220. #域名
  221. service_name: 127.0.0.1
  222. #key
  223. carrier_hash_key: industrial_carrier_token
  224. ---
  225. #阿里环境配置
  226. server:
  227. #端口
  228. port: 8080
  229. context-path: /myboot
  230. spring:
  231. profiles: aliyun
  232. #数据源
  233. datasource:
  234. url: jdbc:mysql://47.105.241.108:33060/service_platform_42_backup?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
  235. username: root
  236. password: ${password}
  237. #redis
  238. redis:
  239. host: 192.168.1.115
  240. password:
  241. port: 6379
  242. pool:
  243. max-idle: 300
  244. min-idle: 20
  245. max-active: 600
  246. max-wait: 2000
  247. #日志
  248. logging:
  249. config: classpath:logback-jk.xml
  250. # path: /logs
  251. #数据库密码加密
  252. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJP9xpeVLUgoSLzliF3W2W8taamhxhNTvR02wFgO//Tr8WPI/ygioxCnijF8Xu9J27rvceuR+gYPP1DhoECcTlECAwEAAQ==
  253. password: UEcXQ3aeLYx487dvi4nvfO074GaTay9celB6/OwmtgyRzcVdOsJ2m15U8IZpat+aq9UPAnlErKsqbvKAYNhVTg==
  254. #上传文件配置信息
  255. #文件仓库地址
  256. repositoryPath: /opt/xinqu_pic
  257. #新区接口地址
  258. api_url: http://snd.ideatob.com/mp/api/
  259. #访问路径
  260. fileUrl: http://47.105.241.108
  261. #apk文件存放地址
  262. apk_url: /opt/xinqu_pic/apk/
  263. #域名
  264. service_name: 47.105.241.108
  265. #key
  266. carrier_hash_key: industrial_carrier_token
  267. ---
  268. #开发环境配置
  269. server:
  270. #端口
  271. port: 8082
  272. context-path: /myboot
  273. spring:
  274. profiles: prod_in
  275. #数据源
  276. datasource:
  277. url: jdbc:mysql://10.44.104.42:3306/service_platform?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
  278. username: root
  279. password: ${password}
  280. #redis
  281. redis:
  282. host: 10.44.104.41
  283. password: fgjredis-1234
  284. port: 6379
  285. pool:
  286. max-idle: 300
  287. min-idle: 20
  288. max-active: 600
  289. max-wait: 2000
  290. #日志
  291. logging:
  292. config: classpath:logback-jk.xml
  293. # path: /logs
  294. #数据库密码加密
  295. #java -cp druid-1.1.0.jar com.alibaba.druid.filter.config.ConfigTools 你的密码
  296. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIMx332UUYFcxPYHIEunciA17W0DoVdaGghmWNJLJqyy+AXQyxVu5Wq+v3nxWSNiOf8JIZcHtofQJomGOhbjzMkCAwEAAQ==
  297. password: DHjPUaxtgLj6B63mND5ccHj3PXyNIsD/GLoc9jIqY6blFQCCwMyKje8ZCuf22YKlbK9JH8lc4dG1IjQc0fBTlA==
  298. #上传文件配置信息
  299. #文件仓库地址
  300. repositoryPath: /opt/xinqu_pic
  301. #新区接口地址
  302. api_url: http://snd.ideatob.com/mp/api/
  303. #访问路径
  304. fileUrl: http://10.44.104.41:8080/uploads
  305. #apk文件存放地址
  306. apk_url: /opt/xinqu_pic/apk/
  307. #域名
  308. service_name: 10.44.104.41
  309. #key
  310. carrier_hash_key: industrial_carrier_token
  311. ---
  312. #prod外网环境配置
  313. server:
  314. #端口
  315. port: 8082
  316. context-path: /myboot
  317. spring:
  318. profiles: prod_out
  319. #数据源
  320. datasource:
  321. url: jdbc:mysql://10.44.104.42:3306/service_platform?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
  322. username: root
  323. password: ${password}
  324. #redis
  325. redis:
  326. host: 192.168.173.19
  327. password: fgjredis-1234
  328. port: 6379
  329. pool:
  330. max-idle: 300
  331. min-idle: 20
  332. max-active: 600
  333. max-wait: 2000
  334. #日志
  335. logging:
  336. config: classpath:logback-jk.xml
  337. # path: /logs
  338. #数据库密码加密
  339. #java -cp druid-1.1.0.jar com.alibaba.druid.filter.config.ConfigTools 你的密码
  340. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIMx332UUYFcxPYHIEunciA17W0DoVdaGghmWNJLJqyy+AXQyxVu5Wq+v3nxWSNiOf8JIZcHtofQJomGOhbjzMkCAwEAAQ==
  341. password: DHjPUaxtgLj6B63mND5ccHj3PXyNIsD/GLoc9jIqY6blFQCCwMyKje8ZCuf22YKlbK9JH8lc4dG1IjQc0fBTlA==
  342. repositoryPath: /opt/xinqu_pic
  343. #新区接口地址
  344. api_url: http://snd.ideatob.com/mp/api/
  345. #访问路径
  346. fileUrl: http://escloud.snd.gov.cn/uploads
  347. #访问外网路径
  348. fileOutUrl: http://escloud.snd.gov.cn/uploads
  349. #apk文件存放地址
  350. apk_url: /opt/xinqu_pic/apk/
  351. #域名
  352. service_name: escloud.snd.gov.cn
  353. #key
  354. carrier_hash_key: industrial_carrier_token
  355. epoint:
  356. client-id: 998d3291-037b-4c4c-aa42-0e0f6fc00f67
  357. client-secret: 19bb468d-d857-41b5-a6b9-7fed4873e35c
  358. grant-type: authorization_code
  359. redirect-uri: http%3A%2F%2Fescloud.snd.gov.cn%2Findex%2F%23%2Fhome
  360. url:
  361. get-current-login-user: https://sst.suzhou.gov.cn/sst-smartcity-sso/rest/smartcitysso/getCurrentLoginUser
  362. get-token-by-code: https://sst.suzhou.gov.cn/sst-smartcity-sso/rest/oauth2/token
  363. jszypt:
  364. url:
  365. login: https://test.jszypt.com:23424/front/login-for-cloud-platfrom/login
  366. ---
  367. #prod-test外网环境配置
  368. server:
  369. #端口
  370. port: 8082
  371. context-path: /myboot
  372. spring:
  373. profiles: prod_test
  374. #数据源
  375. datasource:
  376. url: jdbc:mysql://192.168.173.81:8090/service_platform?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
  377. username: root
  378. password: ${password}
  379. #redis
  380. redis:
  381. host: 192.168.173.81
  382. password: fgjredis-1234
  383. port: 6379
  384. pool:
  385. max-idle: 300
  386. min-idle: 20
  387. max-active: 600
  388. max-wait: 2000
  389. #日志
  390. logging:
  391. config: classpath:logback-jk.xml
  392. # path: /logs
  393. #数据库密码加密
  394. #java -cp druid-1.1.0.jar com.alibaba.druid.filter.config.ConfigTools 你的密码
  395. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIMx332UUYFcxPYHIEunciA17W0DoVdaGghmWNJLJqyy+AXQyxVu5Wq+v3nxWSNiOf8JIZcHtofQJomGOhbjzMkCAwEAAQ==
  396. password: DHjPUaxtgLj6B63mND5ccHj3PXyNIsD/GLoc9jIqY6blFQCCwMyKje8ZCuf22YKlbK9JH8lc4dG1IjQc0fBTlA==
  397. repositoryPath: /opt/xinqu_pic
  398. #新区接口地址
  399. api_url: http://snd.ideatob.com/mp/api/
  400. #访问路径
  401. fileUrl: http://202.102.20.60:9090/uploads
  402. #访问外网路径
  403. fileOutUrl: http://202.102.20.60:9090/uploads
  404. #apk文件存放地址
  405. apk_url: /opt/xinqu_pic/apk/
  406. #域名
  407. service_name: 202.102.20.60
  408. #key
  409. carrier_hash_key: industrial_carrier_token