spring: application: name: huacheng-user cloud: config: discovery: enabled: true service-id: huacheng-config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} eureka: client: service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: huacheng-user