##服务配置 server: port: 8001 #监听端口 ##自定义配置 mta: debug: true #是否测试 ##oss配置 oss: url: http://yangjie-test.oss-cn-beijing.aliyuncs.com bucket: yangjie-test endpoint: http://oss-cn-beijing.aliyuncs.com accessKeyId: LTAIbMS7HApX1Vz7 accessKeySecret: f1ro3QyunFsyElXfjCAJWtPozdCjNu ##spring配置 spring: ##应用配置 #服务名称 application.name: mta_service_file ##监控服务配置 boot.admin.client: instance.preferIp: true #使用IP注册 url: http://192.168.0.179:1111 #监控服务地址 ##注册中心配置 eureka: instance: preferIpAddress: true #使用ip注册服务 ipAddress: localhost #配置ip地址 instanceId: ${eureka.instance.ipAddress}:${server.port} #实例显示名称 client: healthcheck.enabled: true #开启健康检测 serviceUrl.defaultZone: http://192.168.0.179:8761/eureka #配置中心地址 ##监控配置 management: server.port: 18001 #监控端口 endpoints.web.exposure.include: "*" #开启所有端点 endpoint.health.show-details: always #显示健康详情 ##日志配置 logging: level: com.llisoft.service.file.dao: debug