Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup Command not working #44

Open
antarr opened this issue Dec 1, 2020 · 1 comment
Open

Startup Command not working #44

antarr opened this issue Dec 1, 2020 · 1 comment

Comments

@antarr
Copy link

antarr commented Dec 1, 2020

I'm trying to use the startup command to run a Procfile so that my delayed_job workers are loaded. I've changed the startup command to foreman start and the server starts fine but the workers do not. I'm not getting any errors but none of my jobs are ever executed.

Procfile

web: bundle exec rails s -p $PORT
worker: bundle exec rake jobs:work
@dombarnes
Copy link

You'll be better to roll your own Docker setup for this, that way you can run a multi container setup with a docker-file, one to run your rails app and one to run your active job runner. I do this with sidekiq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants