Repository navigation
Expand file tree
/
Copy pathtinycloud.toml
More file actions
65 lines (55 loc) · 2.09 KB
/
Copy pathtinycloud.toml
File metadata and controls
65 lines (55 loc) · 2.09 KB
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
[global]
log_level = "normal"
# 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.database]
## PostgreSQL pool limits (TC-1054); see README "PostgreSQL pool limits".
## Env: TINYCLOUD_DATABASE__<NAME>, e.g. TINYCLOUD_DATABASE__STATEMENT_TIMEOUT_MS
# max_connections = 100
# idle_timeout_secs = 210
# max_lifetime_secs = 1800
# tcp_keepalive = true
# tcp_keepalive_idle_secs = 15
# tcp_keepalive_interval_secs = 5
# tcp_keepalive_retries = 3
# tcp_user_timeout_ms = 30000
# statement_timeout_mode = "session" # session | local | off
# statement_timeout_ms = 30000
# bulk_statement_timeout_ms = 120000
# retry_window_ms = 10000
[global.keys]
# Provision a unique, persistent root before starting this node.
# TINYCLOUD_KEYS__SECRET supplies it; Dstack deployments explicitly
# select TINYCLOUD_KEYS__TYPE=Dstack instead.
type = "Static"
[global.spaces]
## Space allow list api endpoint
# allowlist = "http://localhost:10000"
[global.telemetry]
## Enable Prometheus latency metrics on global.prometheus.port.
## Env: TINYCLOUD_TELEMETRY__ENABLED
enabled = false
[global.did_resolution]
## UCAN issuers resolve only key, pkh and jwk by default.
## Rollback: TINYCLOUD_DID_RESOLUTION__NETWORK_METHODS=true, then restart.
## Issuer queries remain refused. Opt-in uses the unhardened SSI client (TC-1080).
# network_methods = false