Coder Social home page Coder Social logo

deis-cookbook's Introduction

Deis Cookbook

The opdemand/deis-cookbook project contains Chef recipes for provisioning Deis nodes. To get started with your own private PaaS, check out the Deis project.

Build Status

Requirements

The Deis cookbook is designed to work with Ubuntu 12.04 LTS. While other Ubuntu or Debian distros may work, they have not been tested.

Cookbooks

Deis depends on the following cookbooks:

  • apt - for managing Ubuntu PPAs
  • sudo - for managing /etc/sudoers.d
  • rsyslog - for configuring log routing and aggregation

Berkshelf is used for managing cookbook dependencies.

bundle install    # to install required gems, including berkshelf
berks install     # to install cookbooks to the berkshelf directory
berks upload      # to upload cookbooks to your chef server

Attributes

TODO: List Deis cookbook attributes.

Usage

deis::controller

The controller recipe will create a complete Deis controller on a single node including:

  • PostgreSQL database
  • Django API Server
  • RabbitMQ installation
  • Celery worker service
  • Nginx site for API
  • Docker daemon
  • Docker-based build system
  • Nginx site for hosting build "slugs"
  • Rsyslog server

The controller will iterate over the deis-build databag and configure gitosis access controls in order to restrict git push access to repositories.

deis::runtime

The runtime recipe will prepare a node for hosting Docker containers as part of a Deis runtime layer. This recipe will configure:

  • Docker daemon
  • Buildstep Docker image
  • Rsyslog client

The runtime recipe will iterate over the deis-formations databag and configure and start upstart daemons for any Docker containers assigned to this node.

deis::proxy

The proxy recipe will prepare a node for routing traffic to containers in a Deis runtime layer. This recipe will configure:

  • Nginx site
  • Rsyslog client

The proxy recipe will iterate over the deis-formations databag and configure Nginx backends for any Docker containers assigned to a given formation.

Notes

The destination for rsyslog clients is determined by a Chef search for recipe[deis::controller], and using the ipaddress attribute.

License

Copyright:: 2013, OpDemand LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

deis-cookbook's People

Contributors

arborlab avatar bflad avatar jschneiderhan avatar kangaroo avatar ksikka avatar mboersma avatar nightshade427 avatar paulczar avatar scottstamp avatar tombh avatar

Watchers

 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.