Procfile
A text file listing one line per process type and the command that starts it, first used by Heroku.
In more detail
Each line names a process type and the foreground command that starts it. The platform supervises, restarts, counts, stops and logs each process.
Example
web: python3 app.py
worker: python3 worker.pyRelated terms
- process type — A named kind of work an app does, such as web for requests, worker for queued jobs or clock for scheduled tasks.
- process formation — The set of process types an app runs and how many of each are running.
- Heroku — A cloud platform that runs applications from source code, where the twelve-factor app manifesto was written.
Taught in
- Port Binding And Concurrency — DevOps & Site Reliability Engineering