Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.09 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.09 KB

dokku-hostname Build Status

Sets the docker hostname option for dokku (https://github.com/dokku/dokku)

Currently just sets --hostname=hostname.

requirements

  • dokku 0.4.0+
  • docker 1.8.x

installation

# on 0.3.x
cd /var/lib/dokku/plugins
git clone https://github.com/michaelshobbs/dokku-hostname.git dokku-hostname
dokku plugins-install

# on 0.4.x
dokku plugin:install https://github.com/michaelshobbs/dokku-hostname.git dokku-hostname

hooks

This plugin provides the following triggers:

  • docker-args-build: adds the --hostname env var to the host's hostname or (if available) the AWS OpsWorks stack name + - + hostname
  • docker-args-deploy: adds the --hostname env var to the host's hostname or (if available) the AWS OpsWorks stack name + - + hostname
  • docker-args-run: adds the --hostname env var to the host's hostname or (if available) the AWS OpsWorks stack name + - + hostname