Configuration#
The server reads non-secret defaults from one YAML file and everything else from environment variables. Secrets stay in environment files.
Sources and precedence#
Settings load from these sources; the first one that sets a value wins.
Values passed in code, such as in tests.
Environment variables with the
GEONEMO_prefix.A
.envfile in the working directory.The YAML file that
GEONEMO_SERVICES_CONFIGnames.Secret files, when the platform mounts them.
The YAML file maps a section and key to a setting, for example gkb.compaction_target_mib to
GEONEMO_GKB_COMPACTION_TARGET_MIB. Only settings that list a configuration file key can be
set there; the generated Server settings shows the key beside each
environment variable. Secrets are never read from the file. A missing file is ignored.
Files in deploy/configs/#
The server image copies this folder to /app/configs.
File |
Read by |
|---|---|
|
The settings loader, through |
|
The embedding profiles registry, through |
|
The model gateway registry, through |
|
The agent service’s launch admission |
|
The opt-in local gateway, which mounts the folder as |
|
Template for the host-local administration environment |
Configuration for one environment lives in deploy/<environment>/: the parts list, the
overlay and its env file such as deploy/development/development.env.
Secrets#
Database passwords, signing keys, OIDC client secrets and provider keys are set only through environment files or the platform’s secret store. Keep them out of the YAML file, the image and the repository. Provider keys for inference are private connections owned by users, not deployment settings.
Common choices#
Variable |
Effect |
|---|---|
|
Which API service a process serves; see API roles |
|
Which parts load; see Choose the parts |
|
Turns sign-in on or off; production requires it on |
|
The canonical GKB root, |
|
|