Skip to main content

Module config

Module config 

Source
Expand description

Server configuration: an optional TOML file (HATCHERY_SERVER_CONFIG) with environment variables taking precedence. Addresses, binary paths and key variable names are never compiled in beyond loopback defaults; secrets are never stored here, only the names of the variables that hold them.

Structs§

FileConfig
HarnessFile
M4aFile
MemoryFile
ServerConfig

Constants§

CONFIG_ENV
CONTROL_LISTEN_ENV
CONTROL_TOKEN_ENV
DATA_DIR_ENV
HARNESS_ARGS_ENV
HARNESS_BIN_ENV
M4A_MASTER_KEY_VAR_ENV
M4A_SERVER_REF_ENV
MAIL_DOMAIN_ENV
MEMORY_BIN_ENV
MEMORY_PORT_MAX
MEMORY_PORT_MIN
Memory4agent listens only inside this range, on loopback.
POLICY_FILE_ENV
Status -> capability policy (JSON), the same file C2 reads.
PROVISION_C2_ADDR_ENV
C2 operator API the provisioner polls (host:port, reachable on loopback or a tunnel).
PROVISION_C2_TOKEN_VAR_ENV
Name of the variable holding the C2 operator bearer (the value is never in config).
PROVISION_INTERVAL_ENV