37 lines
1.3 KiB
TOML
37 lines
1.3 KiB
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
|
|
|
|
# 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
|
|
|
|
[net.http]
|
|
##
|
|
# Settings for the HTTP server that serves the web interface and HTTP API
|
|
##
|
|
# The address to bind to.
|
|
# IMPORTANT: Remember that this is unencrypted HTTP! You should put it behind a reverse proxy to do TLS termination.
|
|
bind_address = "::1"
|
|
# The port to listen on
|
|
port = 5253
|