Skip to main content
TAHO can be configured through environment variables, configuration files, or command-line arguments.

Configuration Methods

Environment Variables

All TAHO configuration options can be set via environment variables with the TAHO_ prefix:
export TAHO_NODE_NAME="my-node"
export TAHO_MESH_ADDRESS="mesh.example.com:7946"
export TAHO_LOG_LEVEL="debug"

Configuration File

Create a taho.toml file in your working directory or specify a custom path:
[node]
name = "my-node"
region = "us-west-2"

[mesh]
address = "mesh.example.com:7946"
discovery = "dds"

[runtime]
max_threads = 256
memory_limit = "16GB"

Command-Line Arguments

Override any configuration at runtime:
taho --node-name my-node --mesh-address mesh.example.com:7946

Configuration Options

Node Configuration

  • node.name - Unique identifier for this node
  • node.region - Geographic region for resource locality
  • node.labels - Key-value pairs for node selection

Mesh Configuration

  • mesh.address - Address for mesh discovery
  • mesh.discovery - Discovery mechanism (dds, mdns, static)
  • mesh.encryption - Enable mesh encryption

Runtime Configuration

  • runtime.max_threads - Maximum concurrent threads
  • runtime.memory_limit - Memory allocation limit
  • runtime.gpu_enabled - Enable GPU resource sharing

Coming Soon

Complete configuration reference documentation is under development.