Skip to content
Snippets Groups Projects
settings-example.json 1.22 KiB
Newer Older
  • Learn to ignore specific revisions
  • Robert Goldmann's avatar
    Robert Goldmann committed
    {
        "server": {
            "listen": "0.0.0.0",
            "port": 10003,
            "secret": "",
            "useSSL": false,
            "keyfile": "",
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
            "certfile": "",
            "cors_origins": [
                "http://localhost:8080"
            ]
    
            "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
                    }
                ]
            }
    
    Robert Goldmann's avatar
    Robert Goldmann committed
        },
        "api": {
    
            "url": "http://localhost:10003",
            "key": ""
    
        },
        "discovery": {
            "discoveryPort": 9191,
            "responsePort": 9192,
            "requestMessage": "DISCOVER_STORAGELEAF_REQUEST",
            "responseMessage": "DISCOVER_STORAGELEAF_RESPONSE"
    
    Robert Goldmann's avatar
    Robert Goldmann committed
        }
    }