web: bundle exec puma -p $PORT -C ./config/puma.rb worker: bundle exec rake jobs:work
In production, Heroku’s Cedar stack reads process types from that file.
In development, Foreman manages output streams, responds to crashed processes, and handles user-initiated restarts and shutdowns.
Configure Foreman to always use the same port:
cd /path/to/myapp echo 'port: 7000" > .foreman
Start Foreman processes: