Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.55 KB

File metadata and controls

68 lines (52 loc) · 2.55 KB
title:Deploying with Heroku Buildpacks on Deis
description:How to deploy applications using Heroku Buildpacks

Buildpacks

Buildpacks are bundles of detection and configuration scripts which set up containers to run applications.

Deploy using Buildpacks

For convenience, there are a few buildpacks that are bundled with Deis:

Deis will cycle through the bin/detect scripts of each buildpack to match the code you are pushing.

Adding Custom Buildpacks

To add a specific buildpack to your custom Deis cluster, you will need to make the change in the builder recipe for the Deis cookbook.

Note

Not all Heroku buildpacks work with Deis due to environmental differences (e.g. missing libraries, Heroku-specific environment changes). Test any buildpack before using it in production deployments.

Deploying an App with a Custom Buildpack

If you want your application to use a specific buildpack that is not included in the list, you can set the BUILDPACK_URL environment variable for your application before your first push. For example:

$ deis config:set BUILDPACK_URL=https://github.com/bacongobbler/heroku-buildpack-jekyll
=== classy-hardtack
BUILDPACK_URL: https://github.com/bacongobbler/heroku-buildpack-jekyll