Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/KristianOellegaard/dokku-controller


https://github.com/KristianOellegaard/dokku-controller

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

dokku-controller
================

Keep track of your seperate dokku installations and allow you to restart/delete apps over a nice rest API.

Features
--------

- Configure environment on dokku over a REST API
- Restart and delete your dokku apps over a REST API
- Configures redis for use with [dotcloud/hipache load balancer](https://github.com/dotcloud/hipache)
- Use the Heroku Provider Api for service gws: http://devcenter.heroku.com/articles/add-on-provider-api - Example service implementation: https://github.com/KristianOellegaard/docker-service-provisioner
- Push directly to the controller and let the controller manage on which dokku to deploy

Roadmap
-------

- Health check, move app if a dokku is down

Publish information from dokku
------------------------------

[Use the agent](https://github.com/KristianOellegaard/dokku-controller-agent)

Setup
=====

Controller
----------
pip install -r requirements.txt
honcho start

Dokku
-----
(from controller)
```
cat ~/.ssh/id_rsa.pub | ssh ubuntu/root/etc@ "sudo gitreceive upload-key dokku-controller"
```
Furthermore, add the ssh public key, of the user that is running the controller to the user ```ubuntu``` on every dokku instance.

Add the following to sudoers file:
```
ubuntu ALL=(root) NOPASSWD: /usr/bin/docker
```
Make sure the agent is running