Skip to content

Instantly share code, notes, and snippets.

@bscofield
Created August 20, 2011 00:49
Show Gist options
  • Save bscofield/1158418 to your computer and use it in GitHub Desktop.
Save bscofield/1158418 to your computer and use it in GitHub Desktop.
# /apps/Procfile
app1: cd app1 && foreman start
app2: cd app2 && foreman start
redis: redis-server
# /apps/app1/Procfile
web: rails s -p 3001
poller: ./script/server/poller start -a -q 'high medium low'
# /apps/app2/Procfile
web: rails s -p 3002
poller: ./script/server/poller start -a -q 'app2high'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment