-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings-example.json
More file actions
52 lines (52 loc) · 1.34 KB
/
settings-example.json
File metadata and controls
52 lines (52 loc) · 1.34 KB
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
50
51
52
{
"server": {
"listen": "0.0.0.0",
"port": 10003,
"secret": "",
"useSSL": false,
"keyfile": "",
"certfile": "",
"cors_origins": [
"http://localhost:8080"
]
},
"database": {
"databasePath": "storageLeaf.db",
"backup":
{
"enable": true,
"maxModifications": 30,
"owncloudHost": "https://myowncloud.de",
"owncloudUser": "myUser",
"owncloudPassword": "",
"owncloudDestinationPath": "MyFolder"
},
"cleanup": {
"forceBackupAfterCleanup": true,
"retentionPolicies": [
{
"numberOfMeasurementsPerDay": 24,
"ageInDays": 30
},
{
"numberOfMeasurementsPerDay": 2,
"ageInDays": 60
}
],
"automatic": {
"enable": true,
"cronSchedule": "0 0 * * 0"
}
}
},
"api": {
"url": "http://localhost:10003",
"key": ""
},
"discovery": {
"discoveryPort": 9191,
"responsePort": 9192,
"requestMessage": "DISCOVER_STORAGELEAF_REQUEST",
"responseMessage": "DISCOVER_STORAGELEAF_RESPONSE"
}
}