github.com/cs3org/reva/v2@v2.27.7/tests/oc-integration-tests/local/storage-users.toml (about)

     1  # This config file will start a reva service that:
     2  # - uses the ocis driver to serve users (/users)
     3  # - serves the storage provider on grpc port 11000
     4  # - serves http dataprovider for this storage on port 11001
     5  #   - /data - dataprovider: file up and download
     6  
     7  [shared]
     8  jwt_secret = "Pive-Fumkiu4"
     9  gatewaysvc = "localhost:19000"
    10  
    11  [shared.grpc_client_options]
    12  tls_mode = "insecure"
    13  
    14  [log]
    15  #level = "warn"
    16  #mode = "json"
    17  
    18  [grpc]
    19  address = "0.0.0.0:11000"
    20  
    21  [grpc.tls_settings]
    22  enabled = true
    23  
    24  # This is a storage provider that grants direct access to the wrapped storage
    25  # we have a locally running dataprovider
    26  [grpc.services.storageprovider]
    27  driver = "ocis"
    28  expose_data_server = true
    29  data_server_url = "http://localhost:11001/data"
    30  mount_id = "1284d238-aa92-42ce-bdc4-0b0000009157"
    31  
    32  [grpc.services.storageprovider.drivers.ocis]
    33  root = "/tmp/reva/data"
    34  treetime_accounting = true
    35  treesize_accounting = true
    36  permissionssvc = "localhost:10000"
    37  personalspacealias_template = "{{.SpaceType}}/{{.User.Username}}"
    38  generalspacealias_template = "{{.SpaceType}}/{{.SpaceName | replace \" \" \"-\" | lower}}"
    39  
    40  # we have a locally running dataprovider
    41  [http]
    42  address = "0.0.0.0:11001"
    43  
    44  [http.services.dataprovider]
    45  driver = "ocis"
    46  temp_folder = "/tmp/reva/tmp"
    47  
    48  [http.services.dataprovider.drivers.ocis]
    49  root = "/tmp/reva/data"
    50  treetime_accounting = true
    51  treesize_accounting = true
    52  permissionssvc = "localhost:10000"