Configuration

The following configuration properties are currently available for the Redis storage backend:

  • address
    Default: unset
    Required: yes
    Specifies the address on which the Redis server listens
  • password
    Default: unset
    Required: no
    Defines a password for authentication purposes
  • db
    Default: unset
    Required: yes
    Specifies the database to store cache entries in

Example Configuration

storage "redis" {
  address = "127.0.0.1:6379"
  password = "stockpilerulez"
  db = 1
}