15
0

application.yml 937 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. poyee:
  2. profile: c://tmp/
  3. spring:
  4. profiles:
  5. active: dev
  6. application:
  7. name: poyee-app-ecology
  8. cloud:
  9. loadbalancer:
  10. retry:
  11. enabled: true
  12. server:
  13. port: 8087
  14. # MyBatis
  15. mybatis:
  16. # 搜索指定包别名
  17. typeAliasesPackage: com.poyee.dto,com.poyee.dto.req,com.poyee.**.dto,com.poyee.**.dto.req
  18. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  19. mapperLocations: classpath*:mapper/*Mapper.xml,classpath*:mapper/**/*Mapper.xml
  20. # 加载全局的配置文件
  21. configLocation: classpath:mybatis/mybatis-config.xml
  22. # 日志配置
  23. logging:
  24. console.enabled: ${CONSOLE_ENABLED:true}
  25. file.enabled: ${FILE_ENABLED:false}
  26. level:
  27. com.poyee: debug
  28. org.springframework: warn
  29. fluentd:
  30. enabled: ${FLUENTD_ENABLED:false}
  31. host: ${FLUENTD_HOST:127.0.0.1}
  32. port: ${FLUENTD_PORT:24225}
  33. # 商家用户信息服务URL配置
  34. mer-user-info:
  35. service:
  36. url: http://localhost