Supply dokku configuration files within your app repository.
- dokku 0.4.0+
- docker 1.8.x
# on 0.4.x dokku plugin:install https://github.com/josegonzalez/dokku-supply-config.git supply-config
This plugin provides hooks:
pre-build-buildpack: copy configuration files into app directory
pre-build-dockerfile: copy configuration files into app directory
Say you want to include a file called DOCKER_OPTIONS for the Docker options plugin. In the root directory of your app repository, create a directory called
.dokku and put the files in there. This plugin will copy those files into
$DOKKU_ROOT/$APP/ before building the app.