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.

  1. Values passed in code, such as in tests.

  2. Environment variables with the GEONEMO_ prefix.

  3. A .env file in the working directory.

  4. The YAML file that GEONEMO_SERVICES_CONFIG names.

  5. 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

services.yaml

The settings loader, through GEONEMO_SERVICES_CONFIG

embedding-models.yaml

The embedding profiles registry, through GEONEMO_EMBEDDING_MODELS_FILE

inference-gateways.yaml

The model gateway registry, through GEONEMO_INFERENCE_GATEWAYS_FILE

agent-inference-transport.json

The agent service’s launch admission

gateway-poc.yaml, clay-gateway-poc.yaml

The opt-in local gateway, which mounts the folder as /config

admin.env.example

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

GEONEMO_API_ROLE

Which API service a process serves; see API roles

GEONEMO_PARTS_FILE, GEONEMO_PARTS

Which parts load; see Choose the parts

GEONEMO_AUTH_ENABLED

Turns sign-in on or off; production requires it on

GEONEMO_GKB_ROOT

The canonical GKB root, /var/lib/geonemo/gkb in the image

GEONEMO_ENVIRONMENT_IDENTITY

production, production-backed-development or isolated-development