Created
March 6, 2015 22:40
-
-
Save amitnarayanan/031a039d1791f12bbcd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I don't want to manually start everything I need... so | |
# | |
# Two web processes | |
# | |
web1: bundle exec unicorn -p $PORT -c ./config/unicorn.rb | |
web2: bundle exec unicorn -p $PORT -c ./config/unicorn.rb | |
# | |
# Workers | |
# | |
worker: bundle exec sidekiq -q default -c 2 | |
# | |
# Two memcache instances, one for frags and another for snippets | |
# | |
frag-cache: memcached -vv -m 25 -p 11211 | |
snippet-cache: memcached -vv -m 100 -p 11212 | |
# | |
# One SOLR instance (run the one bundled within rails sunspot) | |
# | |
search: bundle exec rake sunspot:solr:run | |
# | |
# And finally Redis | |
# | |
redis: redis-server /usr/local/etc/redis.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment