Git Product home page Git Product logo

docker-apollo-1's Introduction

Docker Ctrip Apollo.

使用 Docker 部署携程 Apollo,为提高扩展性拆为 3 个 Docker Image。

部署说明:

  1. 修改官方项目 apollo-configservice 、apollo-adminservice 项目下 application.yml 配置文件,此处可参考官网文档

    spring:
        application:
            name: apollo-configservice
        profiles:
        	active: ${apollo_profile}
        cloud:
            inetutils:
                ignoredInterfaces:
                - docker0
                - veth.*
    eureka:
        instance:
            preferIpAddress: true
            ip-address: ${ip}
  2. 按照官方文档配置完成后,由于官方版本迭代,需自行修改 Dockerfile 中 VERSION,然后执行 ./build.sh 编译打包。

  3. 下载并解压本项目到官方项目根目录,分别编译 apollo-configservice 、apollo-adminservice 、apollo-portal,编译及运行说明可参考下方或目录中 Dockerfile 文件。

    # Build with:
    docker build -t apollo-configservice .
    # Run with:
    docker run -p 8080:8080 -d --name apollo-configservice apollo-configservice
  4. 访问 http://IP:PORT 查看部署是否成功。

docker-apollo-1's People

Contributors

kulovecc avatar

Watchers

James Cloos avatar

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.