When you have just created an app in Appliku you must specify what commands to execute to run it.

We call this commands "Processes".

When app is just created there are no processes and you see a warning on the right side of the application overview page.

image

Managing Processes in Standalone mode

Click on the "Add Processes" button (or the "Manage" link in the "Processes" block).

You will be brought to the application settings page on "Processes" tab.

Click on "Add a Process" button.

image

Every process you add must have a name, a command to be executed and the state(you can turn it on or off). image

There are two reserved process names: "web" and "release".

  • The "web" is used to specify the process that responds to HTTP requests
  • The "release" one is what to be executed after every successful deployments

Other processes can have any other name, but names must be unique.

The On/Off switch is not available for the "release" process.

Under the hood, processes that you have enabled will be used to assemble docker-compose.yml file to run your app.

For this reason, process name must consist of latin characters, numbers, and underscores.

image

After you have specified your processes, hit "Save and Deploy" button.

Managing processes in cluster mode

Cluster mode instead of the On/Off toggle offers to specify the scale. Scale is the number of replicas that are running for this process.

image

When you only one to change the scale for an existing process, instead of editing processes, click on "Change Scale" button and change the scale to the desired value and then "Apply Scale".

image

image

Be aware that page will not refresh right away with a fresh statistics, it might take 10-30 seconds to show the pull and display the fresh data.

Migration from the Procfile

If your app used the Procfile before, your processes will stay as they were last specified in the Procfile, but it won't be updating anymore. To change your processes you need to use dashboard now.