Procfile

Qoddi apps (except Docker containers and Marketplace apps) use a Procfile to determine the behavior of the app during the build process.

A Procfile is mainly used to declare the type of app from a network routing point of view (web) and the scripts and commands launched when the app starts.

Note: When you create an app you have to specify the app type (web or worker), this will let Qoddi’s load balancer know that external traffic must be routed to your app or not. This can be changed on your app settings page.

Qoddi’s network system is independent of the app clusters and runs the traffic inside Qoddi’s network architecture seamlessly. Even if your app is a worker without the need for network access you need to use web as the Procfile process type.

Procfile location and name

The Procfile is always a text file named Procfile (no file extention) and placed in the root directory of your app

Procfile format

A Procfile uses one argument per line with this syntax :

web: <command>

<process type> determine the type of command : web for all apps type.
<command> indicate the command the app must execute at startup.

Was this helpful?

6 / 3