# Configuration seagrid reads its settings with [Dynaconf](https://www.dynaconf.com) from these files, in order. A later file wins for each key it sets, and missing files are skipped: | Order | File | Use | |---|---|---| | 0 | `/settings_template.toml` | defaults, always read | | 1 | `/etc/seagrid/seagrid.toml` | machine-wide settings | | 2 | `~/.config/seagrid/seagrid.toml` | your own defaults | | 3 | `./seagrid.toml` | the current project | | 4 | `./sg_*.toml` | per-run files, sorted by name | | 5 | `$SEAGRID_SETTINGS_FILE_FOR_DYNACONF` | an explicit extra file | Locations 1–3 may also hold a `.secrets.toml` for credentials. Each `[section]` is a Dynaconf *environment*. `[default]` applies to every section, and each data source reads its own section, e.g. `[ostia]`. You can override single keys with environment variables prefixed with `SEAGRID_`: ```bash SEAGRID_BASEDATADIR=/scratch/seagrid python my_script.py ``` Check your files for misspelt keys with: ```bash seagrid config check seagrid config show ostia # resolved settings, credentials masked ``` ```{toctree} :maxdepth: 1 settings ```