Hetzner::Docker
Ultra simple deployment of Docker-enabled Hetzner servers.
Uses:
hetzner-api
Chef (knife-solo)
chef-docker cookbook
Installation
Add this line to your application's Gemfile:
gem 'hetzner-docker'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install hetzner-docker
Usage
You should have your ssh public key located at ~/.ssh/id_rsa.pub and get a copy of Berksfile at your current working directory.
export HETZNER_USER="" && export HETZNER_PASSWORD=""
hetzner-docker bootstrap -i <server-ip> -d <server-domain>
TODO
- Modular config for do-install-trusty.sh
- More options
- Verbose and non-verbose output
- Enable OpenVSwitch install
Contributing
- Fork it ( http://github.com/imelnik/hetzner-docker/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request