dokku ps:restart my-app-name

Scaling Processes

Processes defined in your Procfile can be scaled.

dokku ps:scale my-app-name web=2 worker=1

During the initial deployment, the system will attempt to start one process for each defined processed type. If you don't see all processes running (via dokku ps) then examine the application logs to identify the error.

Running One-Off Commands

If you need to run a command such as a database migration:

# Ruby on Rails example
dokku run my-app-name rake db:migrate

Dokku Reference