heroku-buildpack-nar

by h2non

GitHub Readme.md

heroku-buildpack-nar

Heroku Buildpack to easily deploy and run nar app containers.

Usage

Set up the Buildpack in your app:

heroku config:add BUILDPACK_URL=https://github.com/h2non/heroku-buildpack-nar.git --app <app>

Then create a file called .nar_release in the project root directory pointing to the URL of the binary:

http://s3.amazonaws.com/bucket/app-0.1.0-linux-x64.nar

Binary will be located in the Heroky build directory. You use a different file name passing the environment variable, for instance: RELEASE_FILENAME=download_url

In order to execute the binary you must create a Procfile, optionally passing custom flags:

web: bash my-binary --env $ENV --debug

See also

Licence

MIT license - Tomas Aparicio