Skip to content

Commands

The dokku-pro binary provides a few commands for use on the server itself. Every command accepts a --help flag that prints its full help output.

dokku-pro help

Outputs the general help:

$ dokku-pro help

Usage: dokku-pro [--version] [--help] <command> [<args>]

Available commands are:
    config     Config command
    server     Server command
    version    Return the version of the binary

dokku-pro config

Prints the configuration dokku-pro will use, in a human-readable form:

$ dokku-pro config

Api.JwtAccessSecret  => abcdefg
Api.JwtRefreshSecret => hijklmnop
Auth.RootToken       => strong_root_password
Auth.RootUsername    => root
DatabaseLocation     => /var/lib/dokku/data/pro/db
License.Key          => key/SOME_LICENSE_KEY==
License.KeyFile      =>
LogTTL               => 10080
Server.ReadTimeout   => 10
Server.WriteTimeout  => 20
Server.Network       => tcp
Server.Port          => 5000

dokku-pro server

Warning

Do not invoke this directly. Run the server through systemctl instead (see General Operating Instructions).

Starts an instance of the dokku-pro server. Only one instance can run at a time, and output is JSON. Configuration is always loaded from /etc/default/dokku-pro.

$ dokku-pro server

{"level":"info","host":"dokku","version":"1.3.0","timestamp":1646791164,"message":"Validating license"}

dokku-pro version

Outputs the installed Dokku Pro version:

$ dokku-pro version

1.3.0