systemquery/src/subcommands/agent/config.default.toml

27 lines
1 KiB
TOML
Raw Normal View History

# The join secret. This HAS to be the same across al nodes in the swarm.
secret_join = "CHANGE_ME"
# Alternatively, specify a path to a file to read the secret from instead.
# secret_join_filepath will be tried first, and if it's set to CHANGE_ME or
# fails for some reason, secret_join is tried second.
secret_join_filepath = "CHANGE_ME"
# A list of 1 or more host:port strings to join initially.
# Note that a complete list of hosts in the swarm is NOT required, as when
# this hosts joins at leaast 1 host in this list it will ask them for the
# location of other members of the swarm.
peers = [ ]
[net]
# Binds to both IPv6 AND IPv4 automatically thanks to the Linux networking stack
bind_address = "::"
# The port to listen on
port = 5252
# The number of retries when connecting to peers.
# Exponential backoff on retries is enforced
peer_retries = 5
# Wait this number of seconds before giving up on receiving a table from peers.
# Decimal values are allowed, and will be rounded to the nearest millisecond.
table_timeout = 5