> For the complete documentation index, see [llms.txt](https://sujit-baniya.gitbook.io/fiber-boilerplate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sujit-baniya.gitbook.io/fiber-boilerplate/configuration-file/storage.md).

# Storage

```go
type StorageConfig struct {
   *redis.Storage
   Driver   string `yaml:"driver" env:"STORAGE_DRIVER"`
   Name     string `yaml:"name" env:"STORAGE_NAME"`
   Host     string `yaml:"host" env:"STORAGE_HOST"`
   Username string `yaml:"username" env:"STORAGE_USERNAME"`
   Password string `yaml:"password" env:"STORAGE_PASSWORD"`
   Port     int    `yaml:"port" env:"STORAGE_PORT"`
   DB       int    `yaml:"db" env:"STORAGE_DB"`
}
```
