mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Added foreman procfile
This commit is contained in:
parent
3c9cab54aa
commit
ce0281136f
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