Plugins¶
Dokku itself is built out of plugins and uses plugn for its plugin system. In essence a plugin is a collection of scripts that will be run based on naming convention.
Let’s take a quick look at the current Dokku nginx plugin that’s shipped with Dokku by default.
nginx-vhosts/
├── plugin.toml # plugin metadata
├── commands # contains additional commands
├── install # runs on Dokku installation
└── post-deploy # runs after an app is deployed
Installing a plugin¶
See the plugin management documentation.
Creating your own plugin¶
See the full documentation.
Official Plugins¶
The following plugins are available and provided by Dokku maintainers. Please file issues against their respective issue trackers.
Plugin |
Author |
Compatibility |
|---|---|---|
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.12.0+ |
Community plugins¶
Warning: The following plugins have been supplied by our community and may not have been tested by Dokku maintainers.
Datastores¶
Relational¶
Plugin |
Author |
Compatibility |
|---|---|---|
0.3.x |
||
0.3.x |
||
0.3.26+ |
||
0.3.x |
||
0.3.x |
||
0.3.26+ |
Caching¶
Plugin |
Author |
Compatibility |
|---|---|---|
0.5.0+ |
||
0.3.x |
||
Varnish cache between nginx and application with base configuration |
Queuing¶
Plugin |
Author |
Compatibility |
|---|---|---|
0.3.x |
||
0.3.x |
||
0.5.0+ |
||
0.4.0+ |
Plugins Implementing New Dokku Functionality¶
Plugin |
Author |
Compatibility |
|---|---|---|
0.3.x |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.8.0+ |
||
0.4.0+ |
||
0.5.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.8.0+ |
||
0.4.0+ |
||
0.3.x |
||
0.4.0+ |
||
0.4.x |
||
0.4.0+ |
||
0.3.x |
||
0.4.0+ |
||
0.4.0+ |
||
0.8.1+ |
||
0.8.1+ |
1 Extends app.json support to include creating volumes and creating / linking databases on push
2 Adds the possibility to add SSH deployment keys to receive private hosted packages
3 Adds the ability to add custom hosts to the containers known_hosts file to be able to ssh them easily (useful with deployment keys)
4 Adds the ability to sync an application repo with a remote Github repo (useful for automated rebuilds without needing a git push from an external system
5 Adds the ability to invoke a post-deploy webhook with the IP, port and app name, all with a single config:set).
Other Plugins¶
Plugin |
Author |
Compatibility |
|---|---|---|
0.4.0+ |
||
0.18.x+ |
||
0.3.x |
||
0.3.x |
||
0.3.x |
||
0.3.x |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.9.0+ |
||
0.4.0+ |
||
0.10.4+ |
||
0.4.0+ |
||
0.3.x |
||
0.4.0+ |
||
0.4.0+ |
||
0.3.x |
||
0.3.x |
||
0.5.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.3.x |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.4.0+ |
||
0.19.11+ |
||
0.21.4+ |
Deprecated Plugins¶
The following plugins have been removed as their functionality is now in Dokku Core.
Plugin |
Author |
In Dokku Since |
|---|---|---|
v0.7.1 (herokuish 0.3.18) |
||
v0.3.10 (domains plugin) |
||
v0.3.9 (trace command) |
||
v0.3.17 (docker-options plugin) |
||
v0.4.2 (named containers plugin) |
||
v0.3.21 (events plugin) |
||
v0.12.0 (enhanced core git plugin) |
||
v0.3.17 (docker-options plugin) |
||
v0.3.17 (docker-options plugin) |
||
v0.3.14 (ps plugin) |
||
v0.4.0 (herokuish) |
||
v0.3.10 (domains plugin) |
||
v0.4.2 (named-containers plugin) |
||
v0.3.10 (domains plugin) |
||
v0.3.17 (docker-options plugin) |
||
v0.5.0 (deployment tasks) |
||
v0.3.0 (zero downtime deploys) |
||
v0.3.14/0.7.0 (ps/restart policy plugin) |
||
v0.3.14/0.7.0 (ps plugin) |
||
v0.3.14/0.7.0 (ps plugin) |
||
v0.3.14/0.7.0 (ps plugin) |
||
v0.3.14/0.7.0 (ps plugin) |
||
v0.3.14/0.7.0 (ps plugin) |
||
v0.3.14 (ps plugin) |
||
Docker 1.8+ |
||
v0.3.9 (build-env plugin) |
||
v0.3.9 (build-env plugin) |
||
v0.3.9 (build-env plugin) |
||
v0.3.10 (domains plugin) |
||
v0.5.0 (storage plugin) |
1 Conflicts with VHOSTS Custom Configuration 2 Similar to the heroku-labs feature (see https://devcenter.heroku.com/articles/labs-user-env-compile)
Unmaintained Plugins¶
The following plugins are no longer maintained by their developers.
Plugin |
Author |
Compatibility |
|---|---|---|
Works with 0.2.0 |
||
0.4.0+ |
||
Compatible with 0.2.0 |
||
Compatible with 0.3.17+ |
||
0.4.0+ |
||
Not compatible with >= 0.3.0 (still uses /home/git) |
||
Compatible with 0.2.0 |
||
< 0.4.0 |
||
0.4.0+ |
||
This plugin creates a single postgresql container that all your apps can use. Thus only one instance of postgresql running (good for servers without a ton of memory). |
||
Incompatible with 0.2.0 (checked at dccee02) |
||
0.3.26+ |
1 Forked from jezdez/dokku-elasticsearch-plugin: uses Elasticsearch 1.2 (instead of 0.90), doesn’t depend on dokku-link, runs as elasticsearch user instead of root, and turns off multicast autodiscovery for use in a VPS environment.