config.toml; there is no separate registry.toml.
Coral Server Configuration
The Coral Server reads configuration from a TOML file and also supports overriding any config key via environment variables (through Hoplite’s environment source). One explicit environment variable is supported for locating the primary config file:
Common configuration keys and their defaults (set in code):
network.bindAddress:0.0.0.0network.bindPort:5555logging.logFilesDirectory:~/.coral/logslogging.logFileName:server.log(insidelogging.logFilesDirectory)
- Use a double underscore between table and field, and a single underscore between words within a field:
NETWORK__BIND_PORT=5555maps tonetwork.bindPort.NETWORK_BIND_PORTdoes not override that setting. (Hoplite does the mapping) - For the standard server build, command-line settings override environment settings, which override the file supplied through
CONFIG_FILE_PATH. - You can instead mount a complete
config.tomland setCONFIG_FILE_PATH.
CORAL_SERVER_BIND_ADDRESS, CORAL_SERVER_BIND_PORT, REGISTRY_FILE_PATH, or CORAL_DATABASE_PATH in v1.4.0; use the config keys above or CONFIG_FILE_PATH.
Agent Configuration
When Coral Server orchestrates an agent (e.g., via Docker), it passes several environment variables to the agent process. These are used to provide the agent with session-specific context and credentials.Standard Agent Variables
Notes:
CORAL_SERVER_URL,CORAL_AGENT_NAME,CORAL_NAMESPACE,CORAL_SEND_CLAIMS, andCORAL_REMOTE_AGENTare not set for local Docker/executable agents in public Server 1.4.0. UseCORAL_API_URL,CORAL_AGENT_ID, and application session metadata as appropriate.
Agent-Specific Options
Custom options defined in thecoral-agent.toml for an agent are also passed as environment variables by default (if transport = "env").
For example, if an agent has an option named OPENAI_API_KEY:
OPENAI_API_KEY containing the value provided by the user.
Tips for Docker
When running Coral Server in Docker, prefer mounting a config file and pointing the server to it:-e NETWORK__BIND_PORT=5555 to override the configured port. Environment names follow the same double-underscore mapping across deployments.