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

Django - Foreman cannot find installed modeles

I am trying to use Foreman / Honcho to manage my Procfile-based Django application. When I start the app view the normal python manage.py runserver, everything works fine. However, when I start the app via honcho start or foreman start web, I am…
Donato Perconti
  • 814
  • 2
  • 11
  • 28
5
votes
1 answer

How do I make heroku stop creating a web process for a worker-only app?

I have a simple worker-only app that uses heroku's scheduler to run once per day. However I noticed that I was getting an extra run every time I pushed code and tracked it down to heroku creating a web process, running my worker command (twice!),…
Nathan Friedly
  • 7,837
  • 3
  • 42
  • 59
5
votes
1 answer

Deploying Deployd to Heroku Dashboard Key

I have an Deployd application I am trying to deploy to Heroku. I have successfully been able to deploy the application and am able to hit it via it's url. I am now trying to access the dashboard. In order to access the dashboard, it requires I have…
Dan
  • 1,041
  • 1
  • 12
  • 32
5
votes
2 answers

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

I get this error when trying to deploy my Ruby on Rails app. Here is the error in my command line: ###### WARNING: remote: No Procfile detected, using the default web server (webrick) remote: …
Mark Shakespeare
  • 115
  • 1
  • 3
  • 9
5
votes
3 answers

Why isn't collectstatic being run automatically when I deploy my Django app to Heroku?

I've followed the official Heroku docs on Django and Static Assets; I've installed dj-static and added it to my requirements.txt file, properly configured all the variables in my settings.py file: STATIC_ROOT = os.path.join(CONFIG_ROOT,…
3cheesewheel
  • 9,133
  • 9
  • 39
  • 59
5
votes
3 answers

Access data from proc file within kernel module

I need to access some proc files in a module on Android kernel. Basically i need the info shown in cat command, like cat /proc/uptime. However i need to do it programmatically. I tried work with proc_fs functions, but it was just a little fuzzy for…
douglasd3
  • 761
  • 2
  • 10
  • 27
4
votes
1 answer

Docker with Redis via Procfile.dev in iTerm2 output is unreadable

This is a bit of a strange one and I can't find answers anywhere else... if I have a Procfile.dev file with a basic Redis command in it such as redis: docker run --rm -it -p 6379:6379 redis:latest and run it via bin/dev the output from the Redis…
CafeHey
  • 5,699
  • 19
  • 82
  • 145
4
votes
1 answer

Heroku procfile multiple workers

I have two different workers that I would like to run alongside my web app in Heroku. I currently have the following in the procfile: web: gunicorn project:app worker: python project/worker/worker.py worker: python project/worker/processor.py but…
Simon Nicholls
  • 635
  • 1
  • 9
  • 31
4
votes
3 answers

Copy file to jar root when building spring-boot project with Maven

I have a Spring Boot project and I'm building the jar file with mvn clean build. I need to copy a folder and a file to the root of the jar, where META-INF is located. I tried maven-resources-plugin but I can't reach my goal. For war files I used…
Cristian
  • 417
  • 1
  • 9
  • 18
4
votes
1 answer

How to mix 2X & PX dynos for web process in Heroku?

I want to use both 2X & PX dynos for my web application. So in my Procfile, I have the following config: web: env WEB_CONCURRENCY=4 bundle exec unicorn -p $PORT -c ./config/unicorn.rb web_px: env WEB_CONCURRENCY=20 bundle exec unicorn -p $PORT -c…
Pahlevi Fikri Auliya
  • 4,157
  • 8
  • 35
  • 71
4
votes
1 answer

Foreman start and hide the web process output

I'm using Foreman to run my Rails 4 application, and I'm getting duplicate output. Web shows pretty much the same info as Log. Can I run foreman and just hide the Web output? My procfile: web: bundle exec passenger start -p $PORT --max-pool-size…
sergserg
  • 21,716
  • 41
  • 129
  • 182
4
votes
1 answer

Deploying with a Procfile to dokku interferes with 'dokku run'

I recently added the dokku-shoreman plugin and a Procfile so that my app runs both a worker and web process when I deploy. It looks like this: web: bundle exec rails server -p $PORT worker: bundle exec rake jobs:work However, now I when I use…
Charlie Egan
  • 4,878
  • 6
  • 33
  • 48
4
votes
1 answer

Two process in one Heroku app vs two heroku apps

I have a heroku app, that has two processes - a web and a worker, both in the same app. I plan to run both these in ps:scale 1x for the whole month. This essentially means that I exceed the 750 free dyno hours per month and have to pay some…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
4
votes
2 answers

Django [Mezzanine CMS] project not deploying to Heroku

New to Python, and trying to deploy a blog. I followed along to Heorku's documentation about Getting Started with Python on Heroku. And it mentioned that I needed to add a Procfile, so I added the Procfile web: gunicorn hello:app Did the commit,…
JGallardo
  • 11,074
  • 10
  • 82
  • 96
4
votes
1 answer

gunicorn on heroku: binding to localhost

I've been following the tutorial on https://devcenter.heroku.com/articles/django#declare-process-types-with-procfile. It went smoothly except for one thing that bothers me. After starting foreman I should see the following: $ foreman…
Hamlet
  • 63
  • 1
  • 5
1 2
3
19 20