application-prd.properties 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ########################################################
  2. ### Spring Cloud 基本配置;
  3. ########################################################
  4. spring.application.name=audio-consumer
  5. ##设置是否向注册中心注册,默认是true
  6. #eureka.client.register-with-eureka=false
  7. ##是否需要去检索寻找服务,默认是true
  8. #eureka.client.fetch-registry=false
  9. #指定注册中心
  10. eureka.client.serviceUrl.defaultZone= http://eureka3:8766/eureka/
  11. iaas.user.register=http://zuul.ai160.com/ucenter/v1/users
  12. iaas.resource.search=http://zuul.ai160.com/rcenter/v1/resources/
  13. iaas.resource.searchNo=http://zuul.ai160.com/rcenter/v1/resources/no/
  14. iaas.resource.searchName=http://zuul.ai160.com/rcenter/v1/resources/page
  15. iaas.user.audio.bizCode=1002
  16. iaas.user.audio.appCode=1002
  17. iaas.user.audio.platform=4
  18. iaas.user.audio.os=0
  19. iaas.user.audio.appVer=1.0.0
  20. iaas.user.audio.terminal=audio
  21. iaas.user.audio.entryType=2
  22. ########################################################
  23. ### MYSQL基本配置;
  24. ########################################################
  25. #prd
  26. spring.datasource.url=jdbc:mysql://rm-2ze9d5b4gpb12aty1490.mysql.rds.aliyuncs.com:3306/efunbox_audio?useUnicode=true&characterEncoding=utf-8&characterSetResults=UTF-8&autoReconnect=true&allowMultiQueries=true
  27. spring.datasource.username=efundata
  28. spring.datasource.password=Efunbox@201704$
  29. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  30. spring.jpa.properties.hibernate.hbm2ddl.auto=update
  31. #spring.jpa.show-sql=true
  32. ########################################################
  33. ### REDIS (RedisProperties) redis基本配置;
  34. ########################################################
  35. # prd Redis数据库索引(默认为0)
  36. spring.redis.database=0
  37. # Redis服务器地址
  38. spring.redis.host=r-2zee62341d4d38f4909.redis.rds.aliyuncs.com
  39. # Redis服务器连接端口
  40. spring.redis.port=6379
  41. # Redis服务器连接密码(默认为空)
  42. spring.redis.password=Efun20170407
  43. # 连接池最大连接数(使用负值表示没有限制)
  44. spring.redis.pool.max-active=8
  45. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  46. spring.redis.pool.max-wait=-1
  47. # 连接池中的最大空闲连接
  48. spring.redis.pool.max-idle=8
  49. # 连接池中的最小空闲连接
  50. spring.redis.pool.min-idle=0
  51. # 连接超时时间(毫秒)
  52. spring.redis.timeout=0
  53. #oss
  54. ali.oss.endpoint=oss-cn-beijing.aliyuncs.com
  55. ali.oss.accessKeyId=LTAIUFvd17IXLBQ4
  56. ali.oss.accessKeySecret=YEm1VebbntRIGmV8s8N33LQfOoC2sA
  57. aliyun.oss.file.prefix=audio/album/
  58. efunbox.oss.img.url=https://ai-admin-image.ai160.com
  59. interface.sign.key=IhOTiTyMLDNNLFuP
  60. hag.cdn.secret.sign.key=7q28cAwmcGQgOsCj
  61. hag.oss.audio.prefix=https://ai-hag-audio.ai160.com