Skip to content

Instantly share code, notes, and snippets.

@pedromtavares
Created January 17, 2012 12:08
Show Gist options
  • Save pedromtavares/1626435 to your computer and use it in GitHub Desktop.
Save pedromtavares/1626435 to your computer and use it in GitHub Desktop.
# Configure Riak connections for the Ripple library.
development:
#http_port: 8092
#pb_port: 8087
nodes:
- host: 127.0.0.1
http_port: 8091
- host: 127.0.0.1
http_port: 8092
- host: 127.0.0.1
http_port: 8093
- host: 127.0.0.1
http_port: 8094
# The test environment has additional keys for configuring the
# Riak::TestServer for your test/spec suite:
#
# * bin_dir specifies the path to the "riak" script that you use to
# start Riak (just the directory)
# * js_source_dir specifies where your custom Javascript functions for
# MapReduce should be loaded from. Usually app/mapreduce.
test:
http_port: 8098
pb_port: 8098
host: localhost
bin_dir: /usr/local/bin # Default for Homebrew.
js_source_dir: <%= Rails.root + "app/mapreduce" %>
production:
http_port: 8098
pb_port: 8087
host: localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment