HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

foreman — Manage Procfile-based applications. More information: <https://manned.org/foreman>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandprocfileclimanageforemanapplicationsbasedmore
linux

Problem

How to use the foreman command: Manage Procfile-based applications. More information: <https://manned.org/foreman>.

Solution

foreman — Manage Procfile-based applications. More information: <https://manned.org/foreman>.

Start an application with the Procfile in the current directory:
foreman start


Start an application with a specified Procfile:
foreman start {{[-f|--procfile]}} {{Procfile}}


Start a specific application:
foreman start {{process}}


Validate Procfile format:
foreman check


Run one-off commands with the process's environment:
foreman run {{command}}


Start all processes except the one named "worker":
foreman start {{[-m|--formation]}} all=1,{{worker}}=0

Code Snippets

Start an application with the Procfile in the current directory

foreman start

Start an application with a specified Procfile

foreman start {{[-f|--procfile]}} {{Procfile}}

Start a specific application

foreman start {{process}}

Validate Procfile format

foreman check

Run one-off commands with the process's environment

foreman run {{command}}

Context

tldr-pages: linux/foreman

Revisions (0)

No revisions yet.