Why doesn't heroku start my procfile processes?

When I run foreman start on the local host, the whole process inside Procfile starts normally:

#Procfile

 web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb resque: env TERM_CHILD=1 QUEUE=* bundle exec rake resque:work sqs_converted: bundle exec rake sqs:listen_converted sqs_failed: bundle exec rake sqs:listen_failed 

 $ foreman start 13:52:07 sqs_failed.1 | started with pid 3521 13:52:07 web.1 | started with pid 3518 13:52:07 sqs_converted.1 | started with pid 3520 13:52:07 resque.1 | started with pid 3519 

But when I deploy to heroku and run heroku ps all I have is an instance of web.

 === web: `bundle exec unicorn -p $PORT -c ./config/unicorn.rb` web.1: up for 8m 

I can not understand what is happening ... Thanks

+4
source share
1 answer

You still need to scale your processes with heroku ps:scale resque=1 sqs_convert=1 sqs_failed=1 . You can read all about the scaling of processes and commands that you can use in Scaling the formation process in Heroku documents.

+7
source

Source: https://habr.com/ru/post/1436426/


All Articles