Servers

The server object runs to listen for incoming connections from database clients. It supports TLS termination, if enabled. The server object has the following parameters:

Configuration parameters

Name Type Default value Possible values Description
network string tcp tcp, unix The network protocol to use
address string 0.0.0.0:15432 Valid host:port The address to listen on
enableTicker boolean False True, False Whether to enable the ticker or not
tickInterval string 5s Valid duration The interval of the ticker
enableTLS boolean False True, False Whether to enable TLS or not
certFile string   Valid path The path to the TLS certificate
keyFile string   Valid path The path to the TLS key
handshakeTimeout string 5s Valid duration The timeout for TLS handshake

Example configuration

servers:
  default:
    network: tcp
    address: 0.0.0.0:15432
    enableTicker: False
    tickInterval: 5s # duration
    enableTLS: False
    certFile: ""
    keyFile: ""
    handshakeTimeout: 5s # duration