two/conf/agent/config.exemple.yml
GnomeZworc 921a5ca96e
All checks were successful
Pre Release Workflow / set-release-target (push) Successful in 1s
Pre Release Workflow / build (agent, amd64, linux) (push) Successful in 1m33s
Pre Release Workflow / build (db, amd64, linux) (push) Successful in 1m30s
Pre Release Workflow / build (metadata, amd64, linux) (push) Successful in 1m32s
Pre Release Workflow / upload-scripts (run-dnsmasq-in-netns.sh) (push) Successful in 6s
Pre Release Workflow / prerelease (push) Successful in 12s
Pre Release Workflow / build (metacli, amd64, linux) (push) Successful in 1m31s
f-21: log: add full log info
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-04-24 00:40:32 +02:00

43 lines
1 KiB
YAML

# Path to the Badger key-value database directory
database:
path: "/var/lib/two/data/"
# REST API server
api:
address: "0.0.0.0"
port: 8080
# Prometheus metrics server
prometheus:
address: "0.0.0.0"
port: 9090
# Worker pool that executes dispatched commands
worker:
# Number of concurrent worker goroutines
count: 4
# Maximum number of commands queued before Dispatch blocks
buffer_size: 100
# Timing for commands that wait on resource state transitions
dispatcher:
# How long (in seconds) to wait before giving up
timeout_seconds: 300
# Interval (in seconds) between each state check
poll_seconds: 2
# Bridge interface used when the requested iface_type is not found in interfaces
default_interface: br-000000
# Map of logical interface types to physical bridge names on this host
interfaces:
vms: br-000000
internet: br-000000
admin: br-000000
# Logging configuration
logger:
# Log level: debug, info, warn, error (default: info)
level: info
# Force debug level regardless of level setting (default: false)
debug: false