Coder Social home page Coder Social logo

zhaoyibo / spring-cloud-study Goto Github PK

View Code? Open in Web Editor NEW
266.0 19.0 127.0 205 KB

Spring Cloud 实践学习案例,由浅入深一步一步学习 Spring Cloud,是 Spring Cloud 初学者及核心技术巩固的最佳实践。

Home Page: https://haoyizebo.com/tags/Spring-Cloud/

Java 99.40% Dockerfile 0.60%
springcloud

spring-cloud-study's Introduction

Spring Cloud 实践学习案例

转载请标明出处:https://haoyizebo.com/tags/Spring-Cloud/ 本文出自 好一则博

Spring Cloud 实践学习案例,由浅入深一步一步学习 Spring Cloud,是 Spring Cloud 初学者及核心技术巩固的最佳实践。

Docker 支持

如果使用 Docker for Mac 请先参考 https://haoyizebo.com/2019/08/30/docker-for-mac-network/

创建 network

docker network create micro-service

Eureka Server

服务注册基本上每次都要用到,为了方便我做了一个 Dockerfile。 使用以下命令可以直接拉取使用镜像:

docker run --rm --name eureka-server --network micro-service -p 8761:8761 haoyizebo/eureka-server:latest

Producer

docker run --rm --name eureka-producer --network micro-service -p 8080:8080 haoyizebo/eureka-producer:latest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.