dokku

0.1.2 • Public • Published

dokku

npm version

dokku is The CLI Utility To Control A Remote Dokku Host.

yarn add dokku

Table Of Contents

CLI

The program is compiled to be used from the CLI. The program is still under development.

Argument Short Description
command The command to execute.
--host The host. If not given, reads executes git remote and uses dokku record.
--app -a The app. If not given, reads executes git remote and uses dokku record.
--user Dokku user, used to look the host from git remote, and to connect. Default dokku.

When run without the host and app arguments, dokku will execute git remote -v command, and extract those records that sign in with the dokku user. If there are more than one apps, the app is required.

After that, each command will be constructed in the following way:

# dokku command ...rest 
ssh <host> command <app> ...rest
 
# e.g., 
# dokku config:set KEY=VALUE 
ssh <host> config:set <app> KEY=VALUE

Commands

The full list of commands is the same as what Dokku supports. There are some special commands.

config:env

The special config:env command will read the .env file, and execute the config:set KEY=VALUE command.

dokku config:env
Will connect to dokku@artd.eco:example
config:set example HELLO=world DOKKU=node.js
-----> Setting config vars
       HELLO:  world
       DOKKU:  node.js
-----> Restarting app example

Copyright

Art Deco © Art Deco™ 2020

Readme

Keywords

Package Sidebar

Install

npm i dokku

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

25.6 kB

Total Files

12

Last publish

Collaborators

  • zvr