GithubHelp home page GithubHelp logo

guoyu07 / dockerf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weibocom/dockerf

0.0 0.0 0.0 8.41 MB

A docker framework, keep deploying container to public cloud simple and quickly.

Makefile 0.06% Go 99.94%

dockerf's Introduction

DockerF: 一个基于云的Docker部署框架

##目标: 让应用开发人员只需要关注自己的业务,简单快速的将自己的应用部署到云上的容器中。

##使用方式

部署

dockerf deploy --security=$sid -f $confs

cluster-id: weibo-platform
cloud-driver: aliyun
pods:
   - feed:
        num: 20
        region: BJ
        containers:
           - front-end:
                num:1
                image: registry.weibo.com/feed:latest
                command: bash
           - user-latest:
                num:1
                image: register.weibo.com/feed:stable
                command: bash
service-discovery:
   engine: etcd
   nodes: 192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4,192.168.1.5

服务发现

dockerf install --type=discovery --nodes=5 --engine=etcd

启动停止

dockerf deploy --type=pod --start=true --name=$podname -f $conf

dockerf drop --type=pod --id=$pod-id

查看

dockerf list resource | pod | container

监控统计

dockerf stats resource | pod | container

dockerf's People

Contributors

icycrystal4 avatar tangyang 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.