application-prod.yml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. dubbo:
  2. application:
  3. id: sys-center-dubbo-prodiver
  4. name: sys-center-dubbo-prodiver
  5. registry:
  6. address: nacos://172.30.0.7:8848
  7. protocol:
  8. name: dubbo
  9. port: 20880
  10. #swagger
  11. knife4j:
  12. production: false
  13. basic:
  14. enable: false
  15. username: jeecg
  16. password: jeecg1314
  17. management:
  18. endpoints:
  19. web:
  20. exposure:
  21. include: metrics,httptrace
  22. spring:
  23. cloud:
  24. nacos:
  25. discovery:
  26. server-addr: 172.30.0.7:8848
  27. service: jeecg-system
  28. servlet:
  29. multipart:
  30. max-file-size: -1
  31. max-request-size: -1
  32. mail:
  33. host: smtp.163.com
  34. username: jeecgos@163.com
  35. password: ??
  36. properties:
  37. mail:
  38. smtp:
  39. auth: true
  40. starttls:
  41. enable: true
  42. required: true
  43. ## quartz定时任务,采用数据库方式
  44. #json 时间戳统一转换
  45. jackson:
  46. date-format: yyyy-MM-dd HH:mm:ss
  47. time-zone: GMT+8
  48. aop:
  49. proxy-target-class: true
  50. #配置freemarker
  51. freemarker:
  52. # 设置模板后缀名
  53. suffix: .ftl
  54. # 设置文档类型
  55. content-type: text/html
  56. # 设置页面编码格式
  57. charset: UTF-8
  58. # 设置页面缓存
  59. cache: false
  60. prefer-file-system-access: false
  61. # 设置ftl文件路径
  62. template-loader-path:
  63. - classpath:/templates
  64. # 设置静态文件路径,js,css等
  65. mvc:
  66. static-path-pattern: /**
  67. resource:
  68. static-locations: classpath:/static/,classpath:/public/
  69. autoconfigure:
  70. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  71. datasource:
  72. url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
  73. username: data
  74. password: hcst@2021
  75. driver-class-name: com.mysql.jdbc.Driver
  76. druid:
  77. stat-view-servlet:
  78. loginUsername: admin
  79. loginPassword: hcst2016
  80. enabled: true
  81. web-stat-filter:
  82. enabled: true
  83. # remove-abandoned: false
  84. dynamic:
  85. druid:
  86. # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  87. # 连接池的配置信息
  88. # 初始化大小,最小,最大
  89. connection-init-sql: set names utf8mb4
  90. initial-size: 5
  91. min-idle: 5
  92. maxActive: 20
  93. # 配置获取连接等待超时的时间
  94. maxWait: 60000
  95. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  96. timeBetweenEvictionRunsMillis: 60000
  97. # 配置一个连接在池中最小生存的时间,单位是毫秒
  98. minEvictableIdleTimeMillis: 300000
  99. validationQuery: SELECT 1 FROM DUAL
  100. testWhileIdle: true
  101. testOnBorrow: false
  102. testOnReturn: false
  103. # 打开PSCache,并且指定每个连接上PSCache的大小
  104. poolPreparedStatements: true
  105. maxPoolPreparedStatementPerConnectionSize: 20
  106. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  107. filters: stat,slf4j
  108. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  109. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  110. datasource:
  111. master:
  112. url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  113. username: data
  114. password: hcst@2021
  115. driver-class-name: com.mysql.jdbc.Driver
  116. #redis 配置
  117. redis:
  118. database: 0
  119. # host: 172.30.0.17
  120. host: 127.0.0.1
  121. password:
  122. port: 6379
  123. lettuce:
  124. pool:
  125. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  126. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  127. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  128. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  129. shutdown-timeout: 100ms
  130. #mybatis plus 设置
  131. mybatis-plus:
  132. mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  133. global-config:
  134. # 关闭MP3.0自带的banner
  135. banner: false
  136. db-config:
  137. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  138. id-type: 4
  139. # 默认数据库表下划线命名
  140. table-underline: true
  141. # configuration:
  142. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  143. #jeecg专用配置
  144. jeecg:
  145. elasticsearch:
  146. address: 127.0.0.1:9200
  147. connect-timeout: 1000
  148. socket-timeout: 30000
  149. connection-request-timeout: 500
  150. max-connect-num: 500
  151. max-connect-per-route: 100
  152. cluster-nodes:
  153. check-enabled: false
  154. uploadType:
  155. oss:
  156. endpoint:
  157. accessKey:
  158. secretKey:
  159. bucketName:
  160. staticDomain:
  161. sms:
  162. accessKeyId:
  163. accessKeySecret:
  164. minio:
  165. minio_url:
  166. minio_name:
  167. minio_pass:
  168. bucketName:
  169. ffmpeg:
  170. bin: ffmpeg
  171. path:
  172. #文件上传根目录 设置
  173. upload: /mnt/upload
  174. #webapp文件路径
  175. webapp: /mnt/webapp
  176. video-upload: /mnt/upload/video/
  177. image-upload: D://data//image//
  178. kuaishou-agent-image: D://temp.png
  179. kuaishou-account-captcha-image: D://captcha.png
  180. chrome-driver: D://chromedriver.exe
  181. csv-upload: /mnt/upload/csv/
  182. bak-database-file: /mnt/data/bak/
  183. report-history: D://mnt//reportKs//
  184. report-daily: D://mnt//reportKs//
  185. kuaishou:
  186. api-url: https://ad.e.kuaishou.com
  187. auth-url: https://ad.e.kuaishou.com
  188. appid: 27
  189. third-appid: 328
  190. oauth-type: agent
  191. secret: QovprB1tNhXptgDc
  192. third-secret: 1iFTBiMdohkyEQQs
  193. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  194. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  195. apk-sava-path: /mnt/file/apk
  196. image-sava-path: /mnt/file/image
  197. video-sava-path: /mnt/file/video
  198. model-video-src-path: /mnt/data/src/
  199. model-video-fill-path: /mnt/data/fill/
  200. model-video-final-path: /mnt/data/final/
  201. group-control:
  202. path: http://39.106.184.70
  203. port: 4723
  204. logging:
  205. level:
  206. root: info
  207. config: classpath:logback-prod.xml
  208. chrome:
  209. script:
  210. clean: sh /mnt/webapp/cleanProcess.sh
  211. cas:
  212. prefixUrl:
  213. oss:
  214. replace:
  215. replace-value: oss-cn-beijing-internal
  216. replace-old-value: oss-cn-beijing
  217. download: D://mnt//image//
  218. zip:
  219. local:
  220. download-path: D://mnt//data//
  221. bytedance:
  222. appId: 1635316529903624
  223. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  224. url:
  225. auth-prefix: https://ad.oceanengine.com/openapi
  226. api-prefix: https://ad.oceanengine.com/open_api
  227. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  228. refresh-token: /oauth2/refresh_token
  229. advertiser-info: /2/advertiser/public_info/
  230. ad-get: /2/ad/get/
  231. ad-create: /2/ad/create/
  232. ad-update: /2/ad/update/
  233. ad-update-status: /2/ad/update/status/
  234. ad-update-bid: /2/ad/update/bid/
  235. ad-update-budget: /2/ad/update/budget/
  236. ad-update-reject-reason: 2/ad/reject_reason/
  237. campaign-get: /2/campaign/get/
  238. campaign-create: /2/campaign/create/
  239. campaign-update-status: /2/campaign/update/status/
  240. campaign-update: /2/campaign/update/
  241. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  242. file-video-ad: /2/file/video/ad/
  243. file-image-ad: /2/file/image/ad/
  244. creative-update-status: /2/creative/update/status/
  245. creative-material-get: /2/creative/material/read/
  246. creative-create-v2: /2/creative/create_v2/
  247. creative-get: /2/creative/get/
  248. creative-read: /2/creative/read_v2/
  249. creative-update: /2/creative/update_v2/
  250. creative-reject-reason: /2/creative/reject_reason/
  251. advertiser-report-get: /2/report/advertiser/get/
  252. campaign-report-get: /2/report/campaign/get/
  253. ad-report-get: /2/report/ad/get/
  254. ad-creative-get: /2/report/creative/get/
  255. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  256. ai:
  257. callback:
  258. callback-unit-url: http://192.168.1.193:31012/ai_callback_add_group
  259. callback-creative-url: http://192.168.1.193:31012/ai_callback_add_creative
  260. xxl-job:
  261. requestUrl: http://jiaoyangapi.shyouteng.com.cn