Configuration
quantum.config.yaml, next to the app. ${NAME} in any value is the environment variable NAME (CFG-1); a section not listed here is warned about.
components
Accepted; its keys are not checked.
database
Accepted; its keys are not checked.
Specified by: DB-7 · DB-8 · SET-2 · TEST-2
datasources
A map of datasource name → its keys (DB-7): datasources: {db: {driver: sqlite, database: ./app.db}}.
| Key | Type | Default | Rules |
|---|---|---|---|
database | |||
driver | |||
history | |||
host | |||
password | |||
port | |||
type | |||
user | |||
username |
Specified by: DB-7
defaults
Accepted; its keys are not checked.
deploy
Accepted; its keys are not checked.
development
Accepted; its keys are not checked.
jobs
Accepted; its keys are not checked.
llm
| Key | Type | Default | Rules |
|---|---|---|---|
base_url | str | IA-1 | |
default_model | IA-1 | ||
model | IA-1 | ||
timeout | int |
Accepted; its keys are not checked.
Specified by: IA-1 · IA-5 · IA-7
logging
| Key | Type | Default | Rules |
|---|---|---|---|
console | True | CFG-3 | |
file | True | CFG-3 · IA-8 · PARSE-5 · UI-9 | |
filename | quantum.log | CFG-3 · FILE-1 | |
format | CFG-3 · SET-3 | ||
level | INFO | CFG-3 |
Another key in this section is warned about when the configuration is loaded (CFG-2, CFG-3).
Specified by: CFG-3
mail
| Key | Type | Default | Rules |
|---|---|---|---|
from | COMP-1 · LOOP-5 · MAIL-1 | ||
host | CFG-3 · MAIL-1 | ||
password | MAIL-1 | ||
port | CFG-3 · MAIL-1 | ||
timeout | DB-5 · FN-2 · INV-1 · MAIL-1 | ||
tls | MAIL-1 | ||
username | MAIL-1 |
Another key in this section is warned about when the configuration is loaded (CFG-2, CFG-3).
Specified by: MAIL-1 · MAIL-2 · CFG-3
messaging
Accepted; its keys are not checked.
paths
| Key | Type | Default | Rules |
|---|---|---|---|
components | ./components | CFG-3 · COMP-1 · DEV-4 | |
logs | ./logs | CFG-3 | |
migrations | CFG-3 · TEST-1 | ||
static | ./static | CFG-3 · DEV-4 | |
uploads | CFG-3 · FILE-1 · FILE-2 |
Another key in this section is warned about when the configuration is loaded (CFG-2, CFG-3).
Specified by: COMP-1 · FILE-1 · FILE-2 · CFG-3 · DEV-4 · TEST-1
performance
| Key | Type | Default | Rules |
|---|---|---|---|
cache_max_size | 100 | ||
cache_templates | True | ||
cache_ttl | 300 |
Another key in this section is warned about when the configuration is loaded (CFG-2, CFG-3).
Specified by: CFG-2
security
| Key | Type | Default | Rules |
|---|---|---|---|
login_url | AUTH-4 | ||
max_content_length | int | 16777216 | CFG-2 |
python_scripting | bool | ||
secret_key | DEV-2 | ||
xss_protection | True |
Another key in this section is warned about when the configuration is loaded (CFG-2, CFG-3).
server
| Key | Type | Default | Rules |
|---|---|---|---|
debug | bool | False | CFG-3 |
host | str | 127.0.0.1 | CFG-3 · MAIL-1 |
port | int | 8080 | CFG-3 · MAIL-1 |
reload | bool | True | CFG-3 |
Another key in this section is warned about when the configuration is loaded (CFG-2, CFG-3).
Specified by: IA-1 · CFG-3 · DEV-1
services
Accepted; its keys are not checked.
Specified by: SVC-2