Questions tagged [procfile]

The Procfile is a simple YAML-esque file which sits in the root of your application code and is pushed to your application when you deploy.

The Procfile is a simple YAML-esque file which sits in the root of your application code and is pushed to your application when you deploy. This file contains a definition of every process you require in your application, and how that process should be started. It is intended to be consumed by Foreman, a utility written by a Heroku Engineer.

Most questions that need this tag will benefit from the tag.

293 questions
2
votes
1 answer

Heroku Django, Multiple Web Dynos

Initially my procfile was looking like web: gunicorn ProjectName.wsgi Then I added django channels in my app, for this I had to add web: daphne ProjectName.asgi:channel_layer --port $PORT --bind 0.0.0.0 -v2 worker: python manage.py…
Nauman Sharif
  • 163
  • 11
2
votes
0 answers

How can I refer to another process's port in a Procfile?

I have a Procfile that looks like this: web: ./frontend -port=$PORT -backend_addr=$BACKEND_ADDR backend: ./backend -port=$PORT I'm currently manually passing in the automatically assigned port for backend in $BACKEND_ADDR, but it seems like…
Ross Light
  • 4,769
  • 1
  • 26
  • 37
2
votes
1 answer

Error: Cannot find module 'webpack' when deploying to heroku

Judging from other topics (none which helped me), this seems to be a reoccurring issue, I am trying to deploy my app to heroku. It works fine with heroku local web, I have deployed the app and git heroku push to the master but as soon as I run…
HGB
  • 2,157
  • 8
  • 43
  • 74
2
votes
2 answers

How to deploy java gradle application on Heroku

Please help to deploy my application on Heroku. Getting error message from Heroku * "Application Error. An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application…
zzheads
  • 1,368
  • 5
  • 28
  • 57
2
votes
1 answer

Web Application works on local machine but does not work on Heroku

I have made my first web application on my local machine in Python that is linked to a postgres database. On my local machine, the web application works so the next step for me was to get the application onto the internet. This is where I started…
LemusThelroy
  • 293
  • 1
  • 6
  • 15
2
votes
1 answer

Filter chain halted as force SSL rendered or redirected

So my app in production has totally crashed with this message: Filter chain halted as # rendered or redirected I've done some…
james
  • 3,989
  • 8
  • 47
  • 102
2
votes
1 answer

Heroku Procfile not working

I'm trying use Nginx + Phalcon. So I have the root folder (app) and my public folder (app/public). Inside the root (app) I have the Procfile: web: vendor/bin/heroku-php-nginx -C nginx_app.conf public/ And inside my public folder I have my…
Pablo
  • 1,953
  • 4
  • 28
  • 57
2
votes
2 answers

HEROKU: ps:scale web=1 no such process type web defined in Procfile

I have seen very similar posts, that however did not help me to find a solution to my problem. I am following step by step the guide to upload a project on heroku. However when I type the command: ps:scale web=1 The result is: no such process…
Fed
  • 1,696
  • 22
  • 29
2
votes
1 answer

"bundler: command not found: unicorn" after adding Procfile as told by Heroku Bamboo to Cedar migration guide

As told by the Bamboo to Cedar migration guide, I added this Procfile to my Heroku app: web: bundle exec unicorn -p $PORT -E $RACK_ENV -c config/unicorn.rb worker: bundle exec rake jobs:work Then I ran bundle install and pushed. Now the server does…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
2
votes
1 answer

"No Procfile detected" in Sinatra app heroku push

I am new with Sinatra and heroku. I am trying to push a small Sinatra app to heroku and I am getting this error, Bundle completed (24.34s) Cleaning up the bundler cache. -----> WARNINGS: No Procfile detected, using the default web server…
user3457760
  • 311
  • 4
  • 11
2
votes
1 answer

Configure Heroku app with only scheduled jobs?

I want to spin up a Heroku instance that only runs a few jobs scheduled with the Heroku Scheduler add-on. I don't want any processes to start on deploy. Should I configure a dummy process, add an empty Procfile, omit the Procfile, or something…
hurrymaplelad
  • 26,645
  • 10
  • 56
  • 76
2
votes
1 answer

Local or Private NPM module when deploying to Heroku

I have a node app that has a local npm module npm link ./local and I'm trying to deploy the app to heroku. Heroku runs npm install when I deploy, but npm link's aren't saved in package.json so my local module is missing. I'm new to heroku and…
ThomasReggi
  • 55,053
  • 85
  • 237
  • 424
2
votes
1 answer

Serve a Bottle application from gunicorn on Heroku?

Procfile web: python server.py server.py from os import environ from bottle import app, route, run, static_file @route('/') def root(): return "Hello world!" if __name__ == '__main__': run(server='gunicorn', host='0.0.0.0',…
stackoverflowuser95
  • 1,992
  • 3
  • 20
  • 30
2
votes
3 answers

Heroku worker job. How to setup worker process along with play framework web

I apologies if this has been answered already; my search did not revealed any one. I have a play application deployed on Heroku. I also have another Worker class with main method in the same build. I want to run that class as a worker and not web.…
2
votes
1 answer

ruby app crashes on heroku: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

I am trying to load a simple ruby app on heroku that periodically runs a background task using resque, which checks an email account. It works fine locally with foreman, but keeps crashing on heroku. I think maybe the Error R10 (Boot timeout) ->…
Nick5a1
  • 917
  • 3
  • 15
  • 28