Browse Source

more tweaks

3.12
karl anderson 13 years ago
parent
commit
91228300dc
4 changed files with 58 additions and 4 deletions
  1. +0
    -0
      bigcouch/.placeholder
  2. +28
    -0
      bigcouch/local.ini
  3. +26
    -0
      bigcouch/vm.args
  4. +4
    -4
      config.ini

+ 0
- 0
bigcouch/.placeholder View File


+ 28
- 0
bigcouch/local.ini View File

@ -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

+ 26
- 0
bigcouch/vm.args View File

@ -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

+ 4
- 4
config.ini View File

@ -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


Loading…
Cancel
Save