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
1
vote
0 answers

Heroku web python app with java packages: how to set the Procfile

I worked for a project that consisted of a web python app which I would like to deploy with Heroku. I can use Python but I've never used Java. I already succeeded in deploying but when I wanted to use it I got an error like: "Java not found" and…
Frisk19
  • 37
  • 6
1
vote
1 answer

How can I change the Procfile to run the Gunicorn process in a non-standard folder on Heroku?

This is my folder structure: george-paintings | application | george_paintings | george_paintings | - wsgi.py - Procfile In procfile i specify wsgi like web: gunicorn --pythonpath…
Alex Nikitin
  • 841
  • 1
  • 10
  • 29
1
vote
1 answer

How to specify correctly wsgi for Heroku deploy?

I have following project structure In Procfile i difine web as web: gunicorn george_paintings.wsgi When i deploy project on Heroku i see that Heroku identified my Procfile Starting process with command `gunicorn george_paintings.wsgi` But when i…
Alex Nikitin
  • 841
  • 1
  • 10
  • 29
1
vote
0 answers

Gunicorn not starting on AWS EB instance?

I am deploying a Django project onto an AWS EB instance. It runs perfectly locally. When I deploy through the CLI, it generates a Procfile that contains the command to start the gunicorn server. However, it is not getting started. I can SSH into the…
1
vote
0 answers

Is Procfile supported in EB PHP platform?

I've trying to start a process using Procfile without sucesss. I'm using Amazon Linux 2 with PHP Platform in Elastic Beanstalk. Here is the test Procfile I'm using trying to debug: web: bash -c "while true ; do date ; sleep 1 ; done" control:…
1
vote
0 answers

How to execute command on Procfile?

i want to ask about Procfile. i want to make something like cron job, because i'm using heroku to deploy my app. and i can't use cron job in heroku. i've tried this on my Procfile, but it didn't work. Procfile: web:…
1
vote
1 answer

Automate a rake task to run on boot on heroku?

Suppose there's a task rake startupscript that should run whenever the app boots, how can we automate that on heroku? I know there's a heroku scheduler but that will run the task every 10 minutes instead of just once at boot. I also know of the…
stevec
  • 41,291
  • 27
  • 223
  • 311
1
vote
0 answers

Image doesn't load on the server but does locally (heroku)

I have a problem. I made a site hosted on heroku. When I open up the file (index.html) locally id loads normally (same for the icon) but when I go on the site it doesn't work. The script of the site is: