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
0
votes
1 answer

"No default language could be detected for this app" while using multiple Buildpacks for an app on Heroku

I deploy to Heroku two nodejs projects each one in own folder - NodejsExpressApp1 and NodejsConsoleApp1. I have added to the app root the Procfile file with the following content - web: node NodejsExpressApp1/app.js worker: node…
Simon Borsky
  • 4,979
  • 2
  • 22
  • 20
0
votes
0 answers

How do I add information to my Heroku database?

I am currently trying to deploy a Node.js application to Heroku. The website is working until I try and login or do other operations that call the database. I have the database attached and keep getting the Error: write EPIPE error. From what I can…
2b2a
  • 95
  • 1
  • 9
0
votes
2 answers

Hi I am getting an error trying to deploy my java maven build app onto heroku

Hi im a bit new to heroku. The app works fine on local but on heroku i get this error when trying to do a rest request on a controller pom.xml
rogg
  • 11
  • 2
0
votes
1 answer

Heroku Procfile for Perfect 2.0

I am trying to deploy Perfect 2.0 (which uses the swift package manager) on Heroku. A current build pack for Swift 3 and Perfect 2.0 exists and I have tested and pushed the below template with this buildpack to a heroku app successfully without…
Ethan Kay
  • 657
  • 6
  • 24
0
votes
1 answer

Heroku Procfile with node executable in bin directory

I have a node application that serves up my angular application from root directory from wwwroot directory. My executable to start this app is in bin/www.js. My Procfile is web: node bin/www.js I cannot get it to serve the application on Heroku. …
0
votes
1 answer

Heroku could not be able to realize the main class

following is my pom.xml
user6517192
0
votes
1 answer

Unable to load main class that my Procfile is pointing

Following is my Procfile web: java %JAVA_OPTS% -cp target\classes;"target\dependency\*" But Im getting the following error when Im running my web app in heroku. Error: Could not find or load main class console The Main.class is inside the package…
user6517192
0
votes
1 answer

Problems deploying simple Python script to keep running on Heroku

I have a simple Python program that repeats the following process at 30 second intervals: uses the Gmail API to check my inbox, looks for a certain kind of mail, and if it is found, uses the Twilio API to call me. I've been running this program on…
Sanat K.
  • 3
  • 2
0
votes
1 answer

Django Heroku Profile

I am having trouble running my django app on Heroku. Following is my file structures: ---django_blog ---media_cdn ---static_cdn ---Procfile ---requirements.txt ---runtime.txt ---src ---blog ---... …
DQI
  • 725
  • 1
  • 5
  • 7
0
votes
1 answer

What heroku Procfile for parse server

Completely new to heroku, profiles and node.js. I'm running Parse Server hosted on Heroku and I'm trying to get kue running in order to do scheduled jobs. To achieve that I need to add a worker. And to do that, I need a Procfile. But I don't know…
Ambroise Collon
  • 3,839
  • 3
  • 18
  • 37
0
votes
1 answer

How do I manage development and production settings in the same Procfile?

I am using a Procfile for some of my dynos on Heroku, but I have different commands for both my local development and the Heroku production environment. But given that I have one Procfile, how do I add a conditional to the check to see if the local…
marcamillion
  • 32,933
  • 55
  • 189
  • 380
0
votes
1 answer

Multiple App Executed Bluemix

Can I run multiple apps/processes in one Bluemix instance? Right now I run them on localhost with one on port 3000 and the other on 4000. The second app is in a subfolder of the parent app, but they do not share any dependencies. I can split them…
0
votes
1 answer

Puma Web Server No Procfile detected, using the default web server (webrick)

Attempting to use Puma Web Server with heroku for application. I have created a Procfile called "Procfile" with the following. web: bundle exec puma -C config/puma.rb I also have a config/puma.rb file with the following. workers…
cnichs27
  • 248
  • 3
  • 17
0
votes
2 answers

Procfile has no extension so it doesn't associate with an app?

This is just a small annoyance but the Heroku Procfile does not have an extension. This causes me to have to select an application for it, each time I double click it. Normally after selecting an application for a file, the system remembers and I…
cade galt
  • 3,843
  • 8
  • 32
  • 48
0
votes
1 answer

heroku H14 error "No web processes running" for Django 1.82

Hi I'm learning Django through Onemonth Django. I am deploying my web app to heroku but I got the error below. heroku[router]: at=error code=H14 desc="No web processes running" I tried to fix this with heroku ps:scale web=1 but it resulted…
pythonlearner
  • 359
  • 2
  • 3
  • 11