-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
37 lines (37 loc) · 820 Bytes
/
config.json.example
File metadata and controls
37 lines (37 loc) · 820 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
{
"port": 8080,
"timeout": 30,
"max_file_size": 100,
"storage_service": "r2",
"upload_cache": {
"type": "memory",
"path": "cache",
"max_files": 100
},
"db": {
"type": "postgres",
"host": "127.0.0.1",
"port": "5432",
"user": "postgres",
"password": "",
"database": "object_share"
},
"encryption": {
"enabled": false,
"mode": "server-side",
"method": "aes-256-gcm",
"key": "",
"decryption_cache": {
"type": "memory",
"path": "decryption_cache",
"max_files": 100
}
},
"r2": {
"bucket_name": "",
"account_id": "",
"secret_id": "",
"secret_key": "",
"presign_link_timeout": 600
}
}