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 |
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.
If property user is defined, property/ies password is/are required.
Example
cache:
type: redis
host: localhost
port: 6379