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

Allow deployment to specify the Procfile role to run. #7

Open
sdbondi opened this issue Oct 8, 2014 · 4 comments
Open

Allow deployment to specify the Procfile role to run. #7

sdbondi opened this issue Oct 8, 2014 · 4 comments

Comments

@sdbondi
Copy link

sdbondi commented Oct 8, 2014

For instance:

Procfile

web: ./my_web_site
worker: ./my_worker
arbprocess: ./my_other_process

Then setting:

DOKKU_ROLES="worker arbprocess"

will only run the worker and arbprocess processes.

Is this a good idea?

sdbondi pushed a commit to fixate/dokku-shoreman that referenced this issue Oct 8, 2014
@statianzo
Copy link
Owner

It is a good idea. I'm in debate about if it should be SHOREMAN_CONCURRENCY="web=1,worker=2" to match the --concurrency flag of foreman. https://ddollar.github.io/foreman/

What do you think @sdbondi ?

@sdbondi
Copy link
Author

sdbondi commented Oct 16, 2014

@statianzo Yes I like that better!

Would be fairly tricky to parse in bash - should be fun to implement. I'll be able to give that a go next week unless you want to do it.

@statianzo
Copy link
Owner

Take a stab at it and make a PR.

@sdbondi
Copy link
Author

sdbondi commented Oct 16, 2014

Will do 👍

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