No commit activity in last 3 years
No release in over 3 years
Command line tool for Dokku Installer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 0.19
 Project Readme

Dokku Installer CLI

Command line tool for Dokku Installer.

Installation

Add this line to your application's Gemfile:

$ gem install dokku-installer-cli

Usage

$ dokku help

Commands:
  dokku config                                    # Display the app's environment variables
  dokku config:get KEY                            # Display an environment variable value
  dokku config:set KEY1=VALUE1 [KEY2=VALUE2 ...]  # Set one or more environment variables
  dokku config:unset KEY1 [KEY2 ...]              # Unset one or more environment variables
  dokku domains                                   # Display the app's domains
  dokku domains:set DOMAIN1 [DOMAIN2 ...]         # Set one or more domains
  dokku help [COMMAND]                            # Describe available commands or one specific command
  dokku logs [-t]                                 # Show the last logs for the application (-t follows)
  dokku open                                      # Open the application in your default browser
  dokku postgres:backups                          # List available PostgreSQL backups as a numbered list
  dokku postgres:backups:create                   # Create a new PostgreSQL backup
  dokku postgres:backups:disable                  # Disable daily PostgreSQL backups
  dokku postgres:backups:download <number>        # Download the numbered PostgreSQL backup
  dokku postgres:backups:enable                   # Enable daily PostgreSQL backups
  dokku postgres:backups:restore <number>         # Restore a numbered PostgreSQL backup
  dokku postgres:backups:restore:local <number>   # Restore a numbered PostgreSQL backup locally
  dokku postgres:export <file.sql>                # Export Postgres data to local file
  dokku postgres:import <file.sql>                # Restore database data from a local file
  dokku restart                                   # Restart the application
  dokku run <cmd>                                 # Run a command in the environment of the application
  dokku ssh                                       # Start an SSH session as root user
  dokku ssl:add CRT KEY                           # Add an SSL endpoint.
  dokku ssl:force DOMAIN                          # Force SSL on the given domain.
  dokku ssl:remove                                # Remove an SSL endpoint.
  dokku update                                    # Update dokku-installer-cli to latest version
  dokku upgrade                                   # Upgrade the Dokku install on your remote server
  dokku url                                       # Show the URL for the application
  dokku version                                   # Show version information

Contributing

  1. Fork it ( https://github.com/[my-github-username]/dokku_installer_cli/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request