-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.agent.yaml
More file actions
37 lines (28 loc) · 872 Bytes
/
Copy pathconfig.agent.yaml
File metadata and controls
37 lines (28 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# usulnet Agent Configuration
# This file is deployed to remote hosts during agent auto-deploy.
# Values are populated by the master during deployment.
# Gateway NATS URL (master's NATS address)
gateway_url: "nats://master:4222"
# Agent authentication token (generated by master)
token: ""
# Docker daemon address
# For rootless Docker, use: "unix:///run/user/<UID>/docker.sock"
# Can also be set via DOCKER_HOST env var.
docker_host: "unix:///var/run/docker.sock"
# Agent hostname (auto-detected if empty)
hostname: ""
# Agent ID (auto-generated if empty)
agent_id: ""
# Custom labels for this agent
labels: {}
# Local state directory
data_dir: "/app/data"
# Logging
log_level: "info"
log_format: "json"
# TLS configuration for NATS mTLS
tls:
enabled: false
cert_file: "/app/certs/agent.crt"
key_file: "/app/certs/agent.key"
ca_file: "/app/certs/ca.crt"