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

36 lines
884 B
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