Configuration
Where settings live, and which of them are files.
Configuration
Settings come from three places, merged in this order:
base.yml— the defaults for every key, which defines the shape.config.yml— what this instance overrides, and the only one an operator edits.- The
settingstable — everything the admin area writes.
Read at: boot
Also read by: the frontend dev server
Holds: port, database, data path
Never holds: anything the admin area can change
What belongs where
A value an operator sets before the wiki starts belongs in config.yml. A value an administrator
changes while it is running belongs in the database, because changing it must not need a restart.
Warning
base.ymlis not a user-facing config. It defines the shape of what the other two merge into.