mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #150 from marcoceppi/procfile-fun
Add foreman procfile
This commit is contained in:
commit
6e8d74478f
3 changed files with 18 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -65,3 +65,6 @@ script/refresh_db
|
|||
|
||||
# temp directory for chef (used to configure vagrant VM)
|
||||
chef/tmp/*
|
||||
|
||||
# .procfile
|
||||
.profile
|
||||
|
|
12
.procfile.sample
Normal file
12
.procfile.sample
Normal file
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
# .procfile example
|
||||
##
|
||||
# Move this file to .procfile and change the values
|
||||
# below to suit your needs.
|
||||
###
|
||||
|
||||
# This specifies how many of each task to run
|
||||
concurrency: web=2,sidekiq=1,clockwork=1
|
||||
|
||||
# Define the port range to use, must be in multiples of 1000
|
||||
port: 3000
|
3
Procfile
Normal file
3
Procfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
web: bundle exec rails server -p $PORT
|
||||
sidekiq: bundle exec sidekiq -e $RAILS_ENV
|
||||
clockwork: bundle exec clockwork config/clock.rb
|
Loading…
Reference in a new issue