123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- #use local config
- spring.profiles.active=simple
- spring.application.name=superdesk-app-services-plugins
- server.port=8175
- server.servlet.context-path=/
- server.error.whitelabel.enabled=false
- #mybatis
- mybatis.type-aliases-package=cn.superdesk.app.plugins.dao.entity
- mybatis.mapper-locations=classpath*:mapper/*Mapper.xml
- mybatis.configuration.map-underscore-to-camel-case=true
- mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
- eureka.instance.instanceId=${spring.cloud.client.ip-address}:${spring.application.name}-1.0.0:${server.port}
- eureka.instance.metadataMap.nodeId=${client.nodeId}
- # spring-kafka
- spring.kafka.bootstrap-servers=127.0.0.1:9092
- # topic
- # 发送微信模板消息topic
- superdesk.kafka.topic.notify.wxTemplateMessage=superdesk-notify-wxTemplateMessage
- info.app.name=@project.artifactId@
- info.app.version=@project.version@
- #spring
- spring.jackson.time-zone=GMT+8
- spring.http.encoding.charset=UTF-8
- spring.http.encoding.force=true
- spring.http.encoding.enabled=true
- server.tomcat.uri-encoding=UTF-8
- # 配置文件说明
- #- mode
- # standalone 单机模式
- # sentinel 哨兵模式(主从)
- # cluster 集群模式
- # shard 分片模式
- #- servers
- # redis server列表,多个','隔开
- # sentinel 模式要配置哨兵地址
- #- group
- # 即多套redis配置的支持。如果你的服务里面用到了多组缓存就必须指定组名,组名不能重复,不指定缺省为[default]。
- #- database
- # 默认为 0
- #- password
- # redis设置了密码就配置
- superdesk.cache.mode=standalone
- #superdesk.cache.groupName=default
- superdesk.cache.servers=127.0.0.1:6379
- superdesk.cache.password=
- superdesk.cache.database=1
- superdesk.cache.maxPoolSize=10000
- superdesk.cache.maxPoolIdle=10
- superdesk.cache.minPoolIdle=1
- superdesk.cache.maxPoolWaitMillis=10000
- auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
- swagger.enable=false
- #datasource
- db.group.size=1
- db.shard.size=1000
- db.driverClass=com.mysql.jdbc.Driver
- db.initialSize=2
- db.minIdle=1
- db.maxActive=50
- db.maxWait=60000
- db.timeBetweenEvictionRunsMillis=60000
- db.minEvictableIdleTimeMillis=300000
- db.testOnBorrow=true
- db.testOnReturn=false
- master.db.url=jdbc:mysql://47.107.240.183:3306/sync_data?allowMultiQueries=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
- master.db.username=pbi
- master.db.password=VU2l8olycIhkGiSJ
- #mybatis
- superdesk.mybatis.crudDriver=mapper3
- #superdesk.mybatis.dbType=Mysql
- superdesk.mybatis.cacheEnabled=true
- #superdesk.mybatis.cacheEnabled=false
- superdesk.mybatis.dynamicExpire=false
- superdesk.mybatis.cacheExpireSeconds=3600
- #superdesk.mybatis.rwRouteEnabled=false
- superdesk.mybatis.paginationEnabled=true
- #eureka
- eureka.instance.preferIpAddress=true
- eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@127.0.0.1:19991/eureka/
- eureka.client.registry-fetch-interval-seconds=5
- eureka.instance.lease-expiration-duration-in-seconds=30
- eureka.instance.lease-renewal-interval-in-seconds=10
- #hystrix
- hystrix.command.default.execution.timeout.enabled=true
- hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
- #ribbon
- ribbon.eureka.enabled=true
- ribbon.ServerListRefreshInterval=2000
- ribbon.ConnectTimeout = 20000
- ribbon.ReadTimeout = 100000
- ribbon.OkToRetryOnAllOperations=false
- ribbon.MaxAutoRetriesNextServer=0
- ribbon.MaxAutoRetries = 0
- #spring
- #spring
- spring.servlet.multipart.max-file-size=1Mb
- spring.servlet.multipart.max-request-size=1Mb
- spring.servlet.multipart.location=C:/Users/Administrator/AppData/Local/superdesk-app-services-common
- #loadbalancer
- spring.cloud.loadbalancer.retry.enabled=false
- #test attachment address
- attachment.root=/data/merge/storage/attachment
- #test template address
- template.root=/data/merge/storage/template
- #test
- clientNo=dev
- ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
- xxl.job.admin.addresses=http://127.0.0.1:8168/superdesk/jobadmin
- ### xxl-job, access token
- xxl.job.accessToken=6f970743bfccc4633cffa89791f1392d
- ### xxl-job executor appname
- xxl.job.executor.appname=superdesk-plugins-job-executor
- ### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
- xxl.job.executor.address=
- ### xxl-job executor server-info
- xxl.job.executor.ip=
- xxl.job.executor.port=18087
- ### xxl-job executor log-path
- xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/plugins
- ### xxl-job executor log-retention-days
- xxl.job.executor.logretentiondays=30
- xxl.devMode=false
|