summaryrefslogtreecommitdiff
path: root/provider_base/services/_couchdb_multimaster.json
blob: 803a94162b386a2350d2571cccb63f1c1bbdec92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Only applied to master couchdb nodes when there are multiple masters
// NOT CURRENTLY USED.
{
  "stunnel": {
    "servers": {
      "epmd_server": "= stunnel_server(couch.bigcouch.epmd_port)",
      "ednp_server": "= stunnel_server(couch.bigcouch.ednp_port)"
    },
    "clients": {
      "epmd_clients": "= stunnel_client(nodes_like_me['services' => 'couchdb']['couch.mode' => 'multimaster'], couch.bigcouch.epmd_port)",
      "ednp_clients": "= stunnel_client(nodes_like_me['services' => 'couchdb']['couch.mode' => 'multimaster'], couch.bigcouch.ednp_port)"
    }
  },
  "couch": {
    "mode": "multimaster",
    "bigcouch": {
      "epmd_port": 4369,
      "ednp_port": 9002,
      "cookie": "= secret :bigcouch_cookie",
      "neighbors": "= nodes_like_me['services' => 'couchdb']['couch.mode' => 'multimaster'].exclude(self).field('domain.full')"
    }
  }
}