-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsync.json
49 lines (48 loc) · 1.11 KB
/
sync.json
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
44
45
46
47
48
49
{
"adminInterface": "127.0.0.1:4986",
"interface": "0.0.0.0:4985",
"CORS": {
"Origin": [
"null",
"http://localhost:4200"
],
"LoginOrigin": [
"*"
],
"Headers": [
"Content-Type"
],
"MaxAge": 1728000
},
"logging": {
"console": {
"log_keys": [
"*"
]
}
},
"databases": {
"main": {
"server": "http://localhost:8091",
"bucket": "main",
"username": "admin",
"password": "admin1",
"enable_shared_bucket_access": true,
"users": {
"GUEST": {
"disabled": false,
"admin_channels": [
"*"
]
}
},
"sync":`function(doc) {
channel(doc.channels);
}`,
"allow_conflicts": false,
"import_docs": true,
"num_index_replicas": 0,
"revs_limit": 100
}
}
}