From 91228300dc6d1cb40b005f169d9b8d37aef6c583 Mon Sep 17 00:00:00 2001 From: karl anderson Date: Fri, 31 May 2013 14:58:38 -0700 Subject: [PATCH] more tweaks --- bigcouch/.placeholder | 0 bigcouch/local.ini | 28 ++++++++++++++++++++++++++++ bigcouch/vm.args | 26 ++++++++++++++++++++++++++ config.ini | 8 ++++---- 4 files changed, 58 insertions(+), 4 deletions(-) delete mode 100644 bigcouch/.placeholder create mode 100644 bigcouch/local.ini create mode 100644 bigcouch/vm.args diff --git a/bigcouch/.placeholder b/bigcouch/.placeholder deleted file mode 100644 index e69de29..0000000 diff --git a/bigcouch/local.ini b/bigcouch/local.ini new file mode 100644 index 0000000..27341ab --- /dev/null +++ b/bigcouch/local.ini @@ -0,0 +1,28 @@ +[admins] +admin = intenseheavydutyadminactionplease +kazoo = supermegaexcellenttelephonyplatform + +[chttpd] +secret = 53e20840c5b911e28b8b0800200c9a66 +require_valid_user = true +port = 5984 +bind_address = 0.0.0.0 + +[httpd] +secret = 53e20840c5b911e28b8b0800200c9a66 +require_valid_user = true +port = 5986 +bind_address = 0.0.0.0 + +[couchdb] +database_dir = /srv/db +view_index_dir = /srv/view_index + +[cluster] +q=3 +r=2 +w=2 +n=3 + +[log] +file = /var/log/bigcouch.log diff --git a/bigcouch/vm.args b/bigcouch/vm.args new file mode 100644 index 0000000..ebae52f --- /dev/null +++ b/bigcouch/vm.args @@ -0,0 +1,26 @@ +# Each node in the system must have a unique name. A name can be short +# (specified using -sname) or it can by fully qualified (-name). There can be +# no communication between nodes running with the -sname flag and those running +# with the -name flag. +-name bigcouch + +# All nodes must share the same magic cookie for distributed Erlang to work. +# Comment out this line if you synchronized the cookies by other means (using +# the ~/.erlang.cookie file, for example). +-setcookie change_me + +# Tell SASL not to log progress reports +-sasl errlog_type error + +# Use kernel poll functionality if supported by emulator ++K true + +# Start a pool of asynchronous IO threads ++A 16 + +# Set the max port value to be the same as limits.d/bigcouch.limits +# +Q 65536 +-env ERL_MAX_PORTS 65536 + +# Comment this line out to enable the interactive Erlang shell on startup ++Bd -noinput -detached diff --git a/config.ini b/config.ini index e013c7c..7a98c5f 100644 --- a/config.ini +++ b/config.ini @@ -8,10 +8,10 @@ uri = "amqp://guest:guest@127.0.0.1:5672" compact_automatically = true cookie = change_me ip = "127.0.0.1" -port = 5984 -; username = "XXX" -; password = "XXX" -admin_port = 5986 +port = 15984 +username = "kazoo" +password = "supermegaexcellenttelephonyplatform" +admin_port = 15986 [whistle_apps] cookie = change_me