summaryrefslogtreecommitdiff
path: root/provider_base/services/couchdb.json
blob: 61b97da17074b8dbe330ceb8c0346d6ca9fe67ea (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "x509": {
        "use": true
    },
    "stunnel": {
        "couch_server": "= stunnel_server(couch.port)",
        "epmd_server": "= stunnel_server(couch.bigcouch.epmd_port)",
        "epmd_clients": "= stunnel_client(nodes_like_me[:services => :couchdb], global.services[:couchdb].couch.bigcouch.epmd_port)",
        "ednp_server": "= stunnel_server(couch.bigcouch.ednp_port)",
        "ednp_clients": "= stunnel_client(nodes_like_me[:services => :couchdb], global.services[:couchdb].couch.bigcouch.ednp_port)"
    },
    "couch": {
        "port": 5984,
        "bigcouch": {
            "epmd_port": 4369,
            "ednp_port": 9002,
            "cookie": "= secret :bigcouch_cookie",
            "neighbors": "= nodes_like_me[:services => :couchdb].exclude(self).field('domain.full')"
        },
        "users": {
            "admin": {
                "username": "admin",
                "password": "= secret :couch_admin_password",
                "salt": "= hex_secret :couch_admin_password_salt, 128"
            },
            "leap_mx": {
                "username": "leap_mx",
                "password": "= secret :couch_leap_mx_password",
                "salt": "= hex_secret :couch_leap_mx_password_salt, 128"
            },
            "soledad": {
                "username": "soledad",
                "password": "= secret :couch_soledad_password",
                "salt": "= hex_secret :couch_soledad_password_salt, 128"
            },
            "webapp": {
                "username": "webapp",
                "password": "= secret :couch_webapp_password",
                "salt": "= hex_secret :couch_webapp_password_salt, 128"
            }
        }
    }
}