Skip to content

cosenal/heroku-selectable-procfile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

heroku-selectable-procfile

Usage

For this buildpack to work, the env variable TASKS needs to be set. The buildpack picks all the Procfiles corresponding to the tasks specified by $TASKS and combine them in a single Procfile.

For example, if we want the app to run all the processes specified in debug/Procfile.metrics and debug/Procfile.queries, we add the variable to the environment,

$ heroku config:add TASKS=metrics,queries

and the buildpack will do the rest.

About

A Heroku Buildpack that allows Procfile selection by environmental variable. Chain it using https://github.com/ddollar/heroku-buildpack-multi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%