Set docker hostname option for dokku (https://github.com/progrium/dokku)
Switch branches/tags
Nothing to show
Clone or download
michaelshobbs Merge pull request #8 from michaelshobbs/add-stickler-config
Adding .stickler.yml configuration file
Latest commit 97820a3 Aug 15, 2017

README.md

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