Sets the docker hostname option for dokku (https://github.com/dokku/dokku)
Currently just sets --hostname=hostname
.
- dokku 0.4.0+
- docker 1.8.x
# 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
This plugin provides the following triggers:
docker-args-build
: adds the--hostname
env var to the host'shostname
or (if available) the AWS OpsWorks stack name + - +hostname
docker-args-deploy
: adds the--hostname
env var to the host'shostname
or (if available) the AWS OpsWorks stack name + - +hostname
docker-args-run
: adds the--hostname
env var to the host'shostname
or (if available) the AWS OpsWorks stack name + - +hostname