docket

command module
v0.0.0-...-db92b10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 8 Imported by: 0

README

docket

A declarative way to pre-package and ship applications on Dokku.

Installation

Install the latest release with the quick install script (Linux, macOS, or a POSIX shell on Windows):

curl -fsSL https://raw.githubusercontent.com/dokku/docket/main/install.sh | sh

Or via Homebrew:

brew install dokku/repo/docket

Or with the Go toolchain:

go install github.com/dokku/docket@latest

See the Getting started guide for all channels, including prebuilt binaries and Debian/Ubuntu packages.

Usage

Describe the desired state of your app in a tasks.yml recipe:

---
- tasks:
    - dokku_app:
        app: inflector
    - dokku_git_sync:
        app: inflector
        remote: http://github.com/cakephp/inflector.cakephp.org

Preview what would change, then apply it:

docket plan    # show what apply would do, without changing anything
docket apply   # make the changes needed to match the recipe

Running docket apply again is a no-op when the server already matches the recipe.

Documentation

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
sdk command
Command sdk writes sdk/types_gen.go: a type alias in the public sdk package for every engine type an embedding caller has to be able to name.
Command sdk writes sdk/types_gen.go: a type alias in the public sdk package for every engine type an embedding caller has to be able to name.
internal
commands/templates
Package templates ships the embedded scaffolds used by `docket init`.
Package templates ships the embedded scaffolds used by `docket init`.
subprocess
Package subprocess SSH transport.
Package subprocess SSH transport.
Package sdk is the supported way to drive docket's engine from Go: build and run tasks, read a server back as a recipe, and describe the registered task types.
Package sdk is the supported way to drive docket's engine from Go: build and run tasks, read a server back as a recipe, and describe the registered task types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL