55 lines
1.7 KiB
Plaintext
55 lines
1.7 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 = ""
|
|
|
|
bind-address = "0.0.0.0"
|
|
|
|
[logging]
|
|
# logging level can be one of "debug", "info", "warn" or "error"
|
|
level = "info"
|
|
file = "influxdb.log" # stdout to log to standard out
|
|
|
|
# Configure the admin server
|
|
[admin]
|
|
port = 8083 # binding is disabled if the port isn't set
|
|
assets = "./admin"
|
|
|
|
# Configure the http api
|
|
[api]
|
|
port = 8086 # binding is disabled if the port isn't set
|
|
# ssl-port = 8084 # Ssl support is enabled if you set a port and cert
|
|
# ssl-cert = /path/to/cert.pem
|
|
|
|
# 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
|