Procfiles are a simple manifest format that describes processes. Here's an example:
web: node run dev api: go run ./server
Each line contains a process name and a command to execute separated by a colon and some whitespace.
When a process is started, a unique PORT environment variable is supplied to each.
PORT
Most procfile runners, Exo included, have a single command to start all processes in the procfile, then tail their logs until interrupted:
exo run Procfile
Video demonstration of using Exo with a Rails application configured via a Procfile.
The New Herokuarrow-up-right - Introduction of Procfiles from 2011.
Foremanarrow-up-right - The original Procfile runner.
Last updated 4 years ago
Was this helpful?