-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspf5000.toml
More file actions
28 lines (23 loc) · 906 Bytes
/
spf5000.toml
File metadata and controls
28 lines (23 loc) · 906 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
# SPF5000 Runtime Configuration
# Loaded at startup. Override the config file path with the SPF5000_CONFIG env var.
# All settings have sensible defaults — edit only what you need to change.
[server]
host = "0.0.0.0"
port = 8000
debug = false
[logging]
level = "INFO"
[security]
# Set a stable session secret to persist admin sessions across restarts.
# If not set, an ephemeral random secret is generated each startup (sessions
# are invalidated on every restart). Generate a strong secret with:
# python -c "import secrets; print(secrets.token_hex(32))"
# session_secret = "replace-with-a-long-random-string"
[paths]
data_dir = "./backend/data"
cache_dir = "./backend/cache"
database_path = "./backend/data/spf5000.ddb"
[database]
# Lower statement-cache memory on small devices. Increase only if profiling
# shows the database is re-preparing a stable query set too often.
stmt_cache_size = 32