Skip to content

Instantly share code, notes, and snippets.

@dayanand-sourcebits
Created January 17, 2012 13:20
Show Gist options
  • Save dayanand-sourcebits/1626596 to your computer and use it in GitHub Desktop.
Save dayanand-sourcebits/1626596 to your computer and use it in GitHub Desktop.
ripple.yml for multiple node
# Configure Riak connections for the Ripple library.
development:
#http_port: 8092
# pb_port: 8087
nodes:
- host: 192.168.31.2
http_port: 8092
- host: 127.0.0.1
http_port: 8091
# 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