# Primary guest agent configuration
[default]
# Worker thread pool configuration for handling concurrent requests
workers = 8
# Maximum blocking operations allowed concurrently
max_blocking = 64
# Service identification string for system logs and monitoring
ident = "Dstack guest agent"
# Temporary directory for runtime operations and file processing
temp_dir = "/tmp"
# TCP keep-alive timeout for persistent connections
keep_alive = 10
# Logging verbosity level (trace, debug, info, warn, error)
log_level = "debug"
# Core application and security configuration
[default.core]
# Application cryptographic keys file shared between host and guest
keys_file = "/dstack/.host-shared/.appkeys.json"
# Docker Compose configuration for application containers
compose_file = "/dstack/.host-shared/app-compose.json"
# System configuration including VM specifications and host API endpoints
sys_config_file = "/dstack/.host-shared/.sys-config.json"
# Data disk mount points to monitor for metrics and health reporting
data_disks = ["/"]
# TDX simulation mode for development and testing environments
[default.core.simulator]
# Enable simulation mode (bypasses hardware TDX requirements)
enabled = false
# Pre-generated quote file for simulation scenarios
quote_file = "quote.hex"
# Event log file for RTMR replay verification
event_log_file = "eventlog.json"
# Internal RPC interface (legacy tappd compatibility)
[internal-v0]
# Unix domain socket for backward compatibility with tappd clients
address = "unix:/var/run/tappd.sock"
# Socket reuse configuration for service restarts
reuse = true
# Primary internal RPC interface for dstack components
[internal]
# Unix domain socket for secure local communication
address = "unix:/var/run/dstack.sock"
reuse = true
# External HTTP/RPC interface for remote access
[external]
# Network interface binding for external access
address = "0.0.0.0"
# HTTP service port for dashboard and API access
port = 8090
# Guest API interface for host communication
[guest-api]
# VSOCK address for secure host-guest communication channel
address = "vsock:0xffffffff"