##
##  etcd.conf -- etcd(8) startup configuration options
##

name:                        "peer1"

data-dir:                    "@l_prefix@/var/etcd/data"
wal-dir:                     "@l_prefix@/var/etcd/wal"
snapshot-count:              10000
max-snapshots:               5
max-wals:                    5

listen-client-urls:          "http://127.0.0.1:2379"
advertise-client-urls:       "http://127.0.0.1:2379"
enable-v2:                   true

listen-peer-urls:            "http://127.0.0.1:2380"
initial-advertise-peer-urls: "http://127.0.0.1:2380"

initial-cluster:             "peer1=http://127.0.0.1:2380"
initial-cluster-state:       "new"
initial-cluster-token:       "example-cluster"
force-new-cluster:           false

heartbeat-interval:          100
election-timeout:            1000

logger:                      zap
log-outputs:                 [ "@l_prefix@/var/etcd/log/etcd.log" ]
debug:                       false

