-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtinycloud.toml
More file actions
36 lines (29 loc) · 1015 Bytes
/
tinycloud.toml
File metadata and controls
36 lines (29 loc) · 1015 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
[global]
log_level = "debug"
# address = "127.0.0.1"
port = 8000
cors = true
[global.storage]
## Root directory for all local data (database, blocks, sql, duckdb).
## Individual paths below can override if needed.
## Env: TINYCLOUD_STORAGE_DATADIR
datadir = "./data"
## Set the file-staging system for TinyCloud Protocol to use
staging = "FileSystem"
## Set the default limit for KV storage per Space
# limit = "10 MiB"
## Override individual paths (defaults derived from datadir):
# database = "sqlite:./data/caps.db"
# [global.storage.sql]
# path = "./data/sql"
# [global.storage.duckdb]
# path = "./data/duckdb"
[global.storage.blocks]
type = "Local"
# path = "./data/blocks" # defaults to {datadir}/blocks
[global.keys]
type = "Static"
secret = "U29tZSBsb25nIHBpZWNlIG9mIGVudHJvcHkgd2hpY2ggaXMgYSBzZWNyZXQgYW5kIG1vcmUgdGhhbiAzMiBieXRlcw"
[global.spaces]
## Space allow list api endpoint
# allowlist = "http://localhost:10000"