#use local config spring.profiles.active=simple spring.application.name=superdesk-app-services-coupon server.port=8165 server.servlet.context-path=/ server.error.whitelabel.enabled=false #mybatis mybatis.type-aliases-package=cn.superdesk.app.coupon.dao.entity mybatis.mapper-locations=classpath*:mapper/*Mapper.xml mybatis.configuration.map-underscore-to-camel-case=true eureka.instance.preferIpAddress=true 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=172.18.223.209:9092 # kafka 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=172.18.223.212: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 spring.redis.host=172.18.223.212 spring.redis.port=6379 spring.redis.database=1 spring.redis.password= swagger.enable=false attachment.root=/data/wwwroot/storage/attachment template.root=/data/wwwroot/storage/template #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://rm-wz949306t03an8m8s.mysql.rds.aliyuncs.com:3306/superdesk_app_env_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false #master.db.username=superdesk_app #master.db.password=grJLLIsjMK1bZ6QL master.db.username=superdesk_app2 master.db.password=qHZu2xi$yG0^NqMD #mybatis superdesk.mybatis.crudDriver=mapper3 #superdesk.mybatis.dbType=Mysql superdesk.mybatis.cacheEnabled=false #superdesk.mybatis.cacheEnabled=false superdesk.mybatis.dynamicExpire=false superdesk.mybatis.cacheExpireSeconds=3600 #superdesk.mybatis.rwRouteEnabled=false superdesk.mybatis.paginationEnabled=true #eureka eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@172.18.223.212:19991/eureka/ #eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@eureka.superdesk.cn/eureka/ #eureka.client.healthcheck.enabled=true 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 = 2000 ribbon.ReadTimeout = 10000 ribbon.OkToRetryOnAllOperations=false ribbon.MaxAutoRetriesNextServer=0 ribbon.MaxAutoRetries = 0 #spring spring.servlet.multipart.max-file-size=1Mb spring.servlet.multipart.max-request-size=1Mb spring.servlet.multipart.location=/tmp clientNo=formt #loadbalancer spring.cloud.loadbalancer.retry.enabled=false ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02" xxl.job.admin.addresses=http://172.18.223.212:8168/superdesk/jobadmin ### xxl-job, access token xxl.job.accessToken=X863nVQDOxWjWguCU1PVbq75FdDVGO3d ### xxl-job executor appname xxl.job.executor.appname=superdesk-coupon-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=18084 ### xxl-job executor log-path xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/coupon ### xxl-job executor log-retention-days xxl.job.executor.logretentiondays=30