Redis

Schema for configuring Redis database connection parameters

Properties

Name Type Description Required
type string Connection type
Constant Value: "redis"
yes
host string Redis DB host
yes
port integer Redis DB port
Minimum: 1
Maximum: 65535
yes
user string Redis DB user
no
password string Redis DB password
no
key string Private key file to authenticate with
no
key_password string Password for unlocking an encrypted private key
no
cert string Client certificate file to authenticate with
no
cacert string CA certificate file to verify with
no
socket_timeout number Socket timeout in seconds
Default: 10
Minimum: 0
no
socket_connect_timeout number Socket connection timeout in seconds
Default: 2
Minimum: 0
no
socket_keepalive boolean Enable/disable TCP keepalive
Default: true
no
health_check_interval number Interval for health checks in seconds
Default: 60
Minimum: 0
no

Additional Properties: not allowed
If property key is defined, property/ies cert is/are required.
If property cert is defined, property/ies key is/are required.
If property key_password is defined, property/ies key is/are required.
Example

cache:
  type: redis
  host: localhost
  port: 6379
  socket_timeout: 10
  socket_connect_timeout: 2
  socket_keepalive: true
  health_check_interval: 60