-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathdatatx.toml
39 lines (37 loc) · 1.73 KB
/
datatx.toml
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
# Example data transfer service configuration
[grpc.services.datatx]
# Rclone is the default data transfer driver
txdriver = "rclone"
# The shares,transfers db file (default: /var/tmp/reva/datatx-shares.json)
tx_shares_file = ""
# Base folder of the data transfers (default: /home/DataTransfers)
data_transfers_folder = ""
# Rclone data transfer driver
[grpc.services.datatx.txdrivers.rclone]
# Rclone endpoint
endpoint = "http://..."
# Basic auth is used
auth_user = "...rcloneuser"
auth_pass = "...rcloneusersecret"
# The authentication scheme to use in the src and dest requests by rclone (follows the endpoints' authentication methods)
# Valid values:
# "bearer" (default) will result in rclone using request header: Authorization: "Bearer ...token..."
# "x-access-token" will result in rclone using request header: X-Access-Token: "...token..."
# If not set "bearer" is assumed
auth_header = "x-access-token"
# The transfers(jobs) db file (default: /var/tmp/reva/datatx-transfers.json)
file = ""
# Check status job interval in milliseconds
job_status_check_interval = 2000
# The job timeout in milliseconds (must be long enough for big transfers!)
job_timeout = 120000
[http.services.ocdav]
# Rclone supports third-party copy push; for that to work with reva enable this setting
enable_http_tpc = true
# The authentication scheme reva uses for the tpc push call (the call to Destination).
# Follows the destination endpoint authentication method.
# Valid values:
# "bearer" (default) will result in header: Authorization: "Bearer ...token..."
# "x-access-token" will result in header: X-Access-Token: "...token..."
# If not set "bearer" is assumed
http_tpc_push_auth_header = "x-access-token"