Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tombh/deis-cookbook
Chef cookbook for Deis.
https://github.com/tombh/deis-cookbook
Last synced: 11 days ago
JSON representation
Chef cookbook for Deis.
- Host: GitHub
- URL: https://github.com/tombh/deis-cookbook
- Owner: tombh
- License: other
- Created: 2013-10-27T17:26:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-06T22:49:16.000Z (over 10 years ago)
- Last Synced: 2024-04-14T13:55:34.572Z (7 months ago)
- Language: Ruby
- Homepage: http://deis.io
- Size: 451 KB
- Stars: 1
- Watchers: 3
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Deis Cookbook
The [opdemand/deis-cookbook](https://github.com/opdemand/deis-chef) project
contains Chef recipes for provisioning Deis nodes.
To get started with your own private PaaS, check out the
[Deis](https://github.com/opdemand/deis) project.## 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](http://berkshelf.com) 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
* Gitosis server
* Docker daemon
* Docker-based build system
* Nginx site for hosting build "slugs"
* Rsyslog serverThe 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 clientThe 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 clientThe 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 and Authors
Author:: Gabriel MonroyCopyright:: 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
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.