51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# Welcome to the InfluxDB configuration file.
|
|
|
|
# If hostname (on the OS) doesn't return a name that can be resolved by the other
|
|
# systems in the cluster, you'll have to set the hostname to an IP or something
|
|
# that can be resovled here.
|
|
# hostname = ""
|
|
|
|
[logging]
|
|
# logging level can be one of "debug", "info", "warn" or "error"
|
|
# level = "info"
|
|
file = "influxdb.log"
|
|
|
|
# Configure the admin server
|
|
[admin]
|
|
# port = 8083
|
|
assets = "./admin"
|
|
|
|
# Configure the http api
|
|
[api]
|
|
# port = 8086
|
|
|
|
# Raft configuration
|
|
[raft]
|
|
# The raft port should be open between all servers in a cluster.
|
|
# However, this port shouldn't be accessible from the internet.
|
|
|
|
# port = 8090
|
|
|
|
# Where the raft logs are stored. The user running InfluxDB will need read/write access.
|
|
dir = "/tmp/influxdb/development/raft"
|
|
|
|
[storage]
|
|
dir = "/tmp/influxdb/development/db"
|
|
|
|
[cluster]
|
|
# A comma separated list of servers to seed
|
|
# this server. this is only relevant when the
|
|
# server is joining a new cluster. Otherwise
|
|
# the server will use the list of known servers
|
|
# prior to shutting down. Any server can be pointed to
|
|
# as a seed. It will find the Raft leader automatically.
|
|
|
|
# Here's an example. Note that the port on the host is the same as the raft port.
|
|
# seed-servers = "hosta:8090,hostb:8090"
|
|
|
|
# Replication happens over a TCP connection with a Protobuf protocol.
|
|
# This port should be reachable between all servers in a cluster.
|
|
# However, this port shouldn't be accessible from the internet.
|
|
|
|
# protobuf_port = 8099
|