Skip to main content
This page documents every key in the Settings model (base/src/platform_network/config/settings.py). All keys live under a section (for example master.proxy_port). See Configuration for how files and environment variables are merged.

Top level

The environment value drives the production policy when set to prod, production, or staging.

network

Chain, wallet, and subnet identity (base/src/platform_network/config/settings.py:10-17).

master

Master proxy, epoch scheduling, registry, and upload acceptance (base/src/platform_network/config/settings.py:20-38).
master.admin_host and master.admin_port exist only for back-compat and are ignored — the admin and registry API is served by the proxy on proxy_port as a single public API (base/src/platform_network/config/settings.py:22-25).

validator

Validator registry polling and weight submission (base/src/platform_network/config/settings.py:41-52). The effective weights endpoint is weights_url if set, otherwise registry_url (base/src/platform_network/config/settings.py:50-52).

database

In production the URL must point to an external PostgreSQL instance; sqlite URLs are rejected (base/src/platform_network/config/policy.py:42-50).

docker

Swarm broker, challenge networking, and job placement (base/src/platform_network/config/settings.py:59-104).
The broker_allowed_images default is shown with the registry namespace redacted as <org>. Set it to your own fully-qualified registry prefix (for example ghcr.io/<org>/); broad prefixes are rejected under the production policy (base/src/platform_network/config/policy.py:53-67).

security

Admin token used to authorize admin API calls (base/src/platform_network/config/settings.py:107-109). Provide the token inline with admin_token, or point admin_token_file at a file containing it.

observability

Logging and telemetry (base/src/platform_network/config/settings.py:112-115).

System architecture

What each settings section actually configures.

Configuration examples

These keys shown in complete, annotated files.