zoukankan      html  css  js  c++  java
  • 使用Docker Compose部署SpringCloud项目docker-compose.yml文件示例

    注意各组件之间的依赖关系

    microservice-discovery-eureka:
      image: reg.itmuch.com/microservice-discovery-eureka
      ports:
      - 8761:8761
      hostname: discovery
    microservice-provider-user:
      image: reg.itmuch.com/microservice-provider-user
      ports:
      - 8000:8000
      links:
      - microservice-discovery-eureka
    microservice-consumer-movie-ribbon-with-hystrix:
      image: reg.itmuch.com/microservice-consumer-movie-ribbon-with-hystrix
      ports:
      - 8011:8011
      links:
      - microservice-discovery-eureka
      hostname: ribbon
    microservice-hystrix-dashboard:
      image: reg.itmuch.com/microservice-hystrix-dashboard
      ports:
      - 8030:8030
      links:
      - microservice-discovery-eureka
      - microservice-hystrix-turbine
    microservice-hystrix-turbine:
      image: reg.itmuch.com/microservice-hystrix-turbine
      ports:
      - 8031:8031
      links:
      - microservice-discovery-eureka
      - microservice-consumer-movie-ribbon-with-hystrix
    microservice-api-gateway:
      image: reg.itmuch.com/microservice-api-gateway
      ports:
      - 8050:8050
      links:
      - microservice-discovery-eureka
      - microservice-consumer-movie-ribbon-with-hystrix
    
  • 相关阅读:
    JavaScript 常见面试题
    textarea 元素的 placeholder 属性不显示
    CSS 画一个八卦
    CSS 画一个心
    JS判断客户端是否是iOS或者Android端
    前端面试题(一)
    选中文字改变默认颜色
    红包雨的实现
    template 的使用
    函数和入参
  • 原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/13293312.html
Copyright © 2011-2022 走看看