redis.go 407 B

12345678910111213
  1. package config
  2. // RedisConf is the redis config required for the provisioner container
  3. type RedisConf struct {
  4. // if redis should be used
  5. Enabled bool `env:"REDIS_ENABLED,default=true"`
  6. Host string `env:"REDIS_HOST,default=redis"`
  7. Port string `env:"REDIS_PORT,default=6379"`
  8. Username string `env:"REDIS_USER"`
  9. Password string `env:"REDIS_PASS"`
  10. DB int `env:"REDIS_DB,default=0"`
  11. }