github.com/cs3org/reva/v2@v2.27.7/tests/oc-integration-tests/local-mesh/storage-home.toml (about) 1 # This config file will start a reva service that: 2 # - uses the ocis driver to serve users, jailed into their home (/home) 3 # - serves the home storage provider on grpc port 12000 4 # - serves http dataprovider for this storage on port 12001 5 # - /data - dataprovider: file up and download 6 # 7 # The home storage will inject the username into the path and jail users into 8 # their home directory 9 10 [shared] 11 jwt_secret = "Pive-Fumkiu4" 12 gatewaysvc = "localhost:39000" 13 14 15 [grpc] 16 address = "0.0.0.0:32000" 17 18 # This is a storage provider that grants direct access to the wrapped storage 19 # the context path wrapper reads the username from the context and prefixes the relative storage path with it 20 [grpc.services.storageprovider] 21 driver = "ocis" 22 expose_data_server = true 23 data_server_url = "http://localhost:12001/data" 24 enable_home_creation = true 25 26 [grpc.services.storageprovider.drivers.ocis] 27 root = "/var/tmp/reva/data" 28 treetime_accounting = true 29 treesize_accounting = true 30 #user_layout = 31 # do we need owner for users? 32 #owner = 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad 33 34 35 # we have a locally running dataprovider 36 [http] 37 address = "0.0.0.0:32001" 38 39 [http.services.dataprovider] 40 driver = "ocis" 41 temp_folder = "/var/tmp/reva/tmp" 42 43 [http.services.dataprovider.drivers.ocis] 44 root = "/var/tmp/reva/data" 45 treetime_accounting = true 46 treesize_accounting = true