redis.go 329 B

12345678910
  1. package config
  2. // RedisConf is the redis config required for the provisioner container
  3. type RedisConf struct {
  4. Host string `env:"REDIS_HOST,default=redis"`
  5. Port string `env:"REDIS_PORT,default=6379"`
  6. Username string `env:"REDIS_USER"`
  7. Password string `env:"REDIS_PASS"`
  8. DB int `env:"REDIS_DB,default=0"`
  9. }