123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- ########################################################
- ### Spring Cloud 基本配置;
- ########################################################
- spring.application.name=audio-consumer
- ##设置是否向注册中心注册,默认是true
- #eureka.client.register-with-eureka=false
- ##是否需要去检索寻找服务,默认是true
- #eureka.client.fetch-registry=false
- #指定注册中心
- eureka.client.serviceUrl.defaultZone= http://eureka3:8766/eureka/
- iaas.user.register=http://zuul.ai160.com/ucenter/v1/users
- iaas.resource.search=http://zuul.ai160.com/rcenter/v1/resources/
- iaas.resource.searchNo=http://zuul.ai160.com/rcenter/v1/resources/no/
- iaas.resource.searchName=http://zuul.ai160.com/rcenter/v1/resources/page
- iaas.user.audio.bizCode=1002
- iaas.user.audio.appCode=1002
- iaas.user.audio.platform=4
- iaas.user.audio.os=0
- iaas.user.audio.appVer=1.0.0
- iaas.user.audio.terminal=audio
- iaas.user.audio.entryType=1
- ########################################################
- ### MYSQL基本配置;
- ########################################################
- #dev
- spring.datasource.url=jdbc:mysql://192.168.1.96:3306/efunbox_audio?useUnicode=true&characterEncoding=utf-8&characterSetResults=UTF-8&autoReconnect=true&allowMultiQueries=true
- spring.datasource.username=root
- spring.datasource.password=Efunbox^^2015$
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- spring.jpa.properties.hibernate.hbm2ddl.auto=update
- spring.jpa.properties.hibernate.format_sql=true
- spring.jpa.show-sql=true
- ########################################################
- ### REDIS (RedisProperties) redis基本配置;
- ########################################################
- # 远程 Redis数据库索引(默认为0)
- spring.redis.database=0
- # Redis服务器地址
- spring.redis.host=192.168.1.86
- # Redis服务器连接端口
- spring.redis.port=6379
- # Redis服务器连接密码(默认为空)
- spring.redis.password=otttest
- # 连接池最大连接数(使用负值表示没有限制)
- spring.redis.pool.max-active=8
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- spring.redis.pool.max-wait=-1
- # 连接池中的最大空闲连接
- spring.redis.pool.max-idle=8
- # 连接池中的最小空闲连接
- spring.redis.pool.min-idle=0
- # 连接超时时间(毫秒)
- spring.redis.timeout=0
- #oss
- ali.oss.endpoint=oss-cn-beijing.aliyuncs.com
- ali.oss.accessKeyId=LTAIUFvd17IXLBQ4
- ali.oss.accessKeySecret=YEm1VebbntRIGmV8s8N33LQfOoC2sA
- aliyun.oss.file.prefix=audio/album/
- efunbox.oss.img.url=http://ai-admin.image.ai160.com
- interface.sign.key=IhOTiTyMLDNNLFuP
|