Files
dokku/docs/deployment/methods/tar.md
Jose Diaz-Gonzalez f26b3f1966 Use correct casing for Dokku name
lowercase should only be used to refer to the binary, not the project
2016-09-03 15:51:14 -04:00

910 B

Tarfile Deployment

New as of 0.4.0

tar:from <app> <url>                           # Loads an app tarball from url
tar:in <app>                                   # Reads an tarball containing the app from stdin

Usage

Deploying from a tarball

In some cases, it may be useful to deploy an application from a tarball. For instance, if you implemented a non-git based deployment plugin, tarring the generated artifact may be an easier route to interface with the existing Dokku infrastructure.

You can place the tarball on an external webserver and deploy via the tar:from command.

dokku tar:from node-js-app https://dokku.me/releases/node-js-app/v1

Deploying via stdin

As an alternative, a deploy can be trigged from a tarball read from stdin using the tar:in command:

# run from the generated artifact directory
tar c . $* | dokku tar:in node-js-app