-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.toml
More file actions
69 lines (53 loc) · 1002 Bytes
/
config.example.toml
File metadata and controls
69 lines (53 loc) · 1002 Bytes
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
app = { name = "DysonFileSystem" }
[http]
port = "8080"
[grpc]
port = "9090"
useTLS = false
certFile = ""
keyFile = ""
[database]
dsn = "host=postgres port=5432 user=dyson password=dyson dbname=dyson_drive sslmode=disable"
[redis]
addr = "redis:6379"
[nats]
url = "nats://nats:4222"
[storage]
tempDir = "/var/lib/dyson-drive/tmp"
localDir = "/var/lib/dyson-drive/data"
[bundled]
enable = false
worker_num = 1
[auth]
target = ""
useTLS = false
tlsSkipVerify = false
[passport]
target = ""
useTLS = false
tlsSkipVerify = false
[quota.leveling]
level1 = 512
level10 = 1024
level60 = 5120
level120 = 10240
[mode]
master = true
worker = true
storage = false
[files]
preferredStorage = "local"
gatewayUrl = "http://localhost:8080"
accessSecret = "change-me"
[[pools]]
id = "01SYSTEMPOOLID00000000000000"
name = "system"
default = true
hidden = true
[pools.storage]
enableSigned = true
endpoint = "/var/lib/dyson-drive/data"
bucket = "local"
[pools.billing]
[pools.policy]
publicUsable = true