systemquery/src/subcommands/agent/config.default.toml
Starbeamrainbowlabs 135b2e8d1b
Write a bunch more glue code
....but it's all still untested. I'm getting kinda nervous here
2022-01-08 16:59:08 +00:00

23 lines
860 B
TOML

# 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