Created
July 6, 2012 15:26
-
-
Save boxxxie/3060878 to your computer and use it in GitHub Desktop.
default build-couchdb config 1.2
This file contains hidden or 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
| { | |
| "httpd_design_handlers": { | |
| "_info": "{couch_httpd_db, handle_design_info_req}", | |
| "_list": "{couch_httpd_show, handle_view_list_req}", | |
| "_rewrite": "{couch_httpd_rewrite, handle_rewrite_req}", | |
| "_show": "{couch_httpd_show, handle_doc_show_req}", | |
| "_update": "{couch_httpd_show, handle_doc_update_req}", | |
| "_view": "{couch_httpd_view, handle_view_req}" | |
| }, | |
| "uuids": { | |
| "algorithm": "sequential" | |
| }, | |
| "stats": { | |
| "rate": "1000", | |
| "samples": "[0, 60, 300, 900]" | |
| }, | |
| "httpd_global_handlers": { | |
| "/": "{couch_httpd_misc_handlers, handle_welcome_req, <<\"Welcome\">>}", | |
| "_active_tasks": "{couch_httpd_misc_handlers, handle_task_status_req}", | |
| "_all_dbs": "{couch_httpd_misc_handlers, handle_all_dbs_req}", | |
| "_config": "{couch_httpd_misc_handlers, handle_config_req}", | |
| "_log": "{couch_httpd_misc_handlers, handle_log_req}", | |
| "_oauth": "{couch_httpd_oauth, handle_oauth_req}", | |
| "_replicate": "{couch_httpd_replicator, handle_req}", | |
| "_restart": "{couch_httpd_misc_handlers, handle_restart_req}", | |
| "_session": "{couch_httpd_auth, handle_session_req}", | |
| "_stats": "{couch_httpd_stats_handlers, handle_stats_req}", | |
| "_utils": "{couch_httpd_misc_handlers, handle_utils_dir_req, \"/media/secrets/eg-market-research/build-couchdb/build/share/couchdb/www\"}", | |
| "_uuids": "{couch_httpd_misc_handlers, handle_uuids_req}", | |
| "favicon.ico": "{couch_httpd_misc_handlers, handle_favicon_req, \"/media/secrets/eg-market-research/build-couchdb/build/share/couchdb/www\"}" | |
| }, | |
| "attachments": { | |
| "compressible_types": "text/*, application/javascript, application/json, application/xml", | |
| "compression_level": "8" | |
| }, | |
| "query_server_config": { | |
| "os_process_limit": "25", | |
| "reduce_limit": "true" | |
| }, | |
| "replicator": { | |
| "connection_timeout": "30000", | |
| "db": "_replicator", | |
| "http_connections": "20", | |
| "max_replication_retry_count": "10", | |
| "retries_per_request": "10", | |
| "socket_options": "[{keepalive, true}, {nodelay, false}]", | |
| "ssl_certificate_max_depth": "3", | |
| "verify_ssl_certificates": "false", | |
| "worker_batch_size": "500", | |
| "worker_processes": "4" | |
| }, | |
| "couch_httpd_oauth": { | |
| "use_users_db": "false" | |
| }, | |
| "ssl": { | |
| "port": "6984", | |
| "ssl_certificate_max_depth": "1", | |
| "verify_ssl_certificates": "false" | |
| }, | |
| "log": { | |
| "file": "/media/secrets/eg-market-research/build-couchdb/build/var/log/couchdb/couch.log", | |
| "include_sasl": "true", | |
| "level": "info" | |
| }, | |
| "view_compaction": { | |
| "keyvalue_buffer_size": "2097152" | |
| }, | |
| "query_servers": { | |
| "coffeescript": "/media/secrets/eg-market-research/build-couchdb/build/bin/couchjs /media/secrets/eg-market-research/build-couchdb/build/share/couchdb/server/main-coffee.js", | |
| "javascript": "/media/secrets/eg-market-research/build-couchdb/build/bin/couchjs /media/secrets/eg-market-research/build-couchdb/build/share/couchdb/server/main.js" | |
| }, | |
| "daemons": { | |
| "auth_cache": "{couch_auth_cache, start_link, []}", | |
| "compaction_daemon": "{couch_compaction_daemon, start_link, []}", | |
| "external_manager": "{couch_external_manager, start_link, []}", | |
| "httpd": "{couch_httpd, start_link, []}", | |
| "os_daemons": "{couch_os_daemons, start_link, []}", | |
| "query_servers": "{couch_query_servers, start_link, []}", | |
| "replication_manager": "{couch_replication_manager, start_link, []}", | |
| "stats_aggregator": "{couch_stats_aggregator, start, []}", | |
| "stats_collector": "{couch_stats_collector, start, []}", | |
| "uuids": "{couch_uuids, start, []}", | |
| "vhosts": "{couch_httpd_vhost, start_link, []}", | |
| "view_manager": "{couch_view, start_link, []}" | |
| }, | |
| "httpd": { | |
| "allow_jsonp": "false", | |
| "authentication_handlers": "{couch_httpd_oauth, oauth_authentication_handler}, {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}", | |
| "bind_address": "127.0.0.1", | |
| "default_handler": "{couch_httpd_db, handle_request}", | |
| "log_max_chunk_size": "1000000", | |
| "port": "5984", | |
| "secure_rewrites": "true", | |
| "vhost_global_handlers": "_utils, _uuids, _session, _oauth, _users" | |
| }, | |
| "httpd_db_handlers": { | |
| "_changes": "{couch_httpd_db, handle_changes_req}", | |
| "_compact": "{couch_httpd_db, handle_compact_req}", | |
| "_design": "{couch_httpd_db, handle_design_req}", | |
| "_temp_view": "{couch_httpd_view, handle_temp_view_req}", | |
| "_view_cleanup": "{couch_httpd_db, handle_view_cleanup_req}" | |
| }, | |
| "database_compaction": { | |
| "checkpoint_after": "5242880", | |
| "doc_buffer_size": "524288" | |
| }, | |
| "couch_httpd_auth": { | |
| "allow_persistent_cookies": "false", | |
| "auth_cache_size": "50", | |
| "authentication_db": "_users", | |
| "authentication_redirect": "/_utils/session.html", | |
| "require_valid_user": "false", | |
| "timeout": "600" | |
| }, | |
| "couchdb": { | |
| "database_dir": "/media/secrets/eg-market-research/build-couchdb/build/var/lib/couchdb", | |
| "delayed_commits": "true", | |
| "file_compression": "snappy", | |
| "max_dbs_open": "100", | |
| "max_document_size": "4294967296", | |
| "os_process_timeout": "5000", | |
| "uri_file": "/media/secrets/eg-market-research/build-couchdb/build/var/run/couchdb/couch.uri", | |
| "util_driver_dir": "/media/secrets/eg-market-research/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib", | |
| "view_index_dir": "/media/secrets/eg-market-research/build-couchdb/build/var/lib/couchdb" | |
| }, | |
| "compaction_daemon": { | |
| "check_interval": "300", | |
| "min_file_size": "131072" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment