Closed Florentin68 closed 4 months ago
What's your password file looking like? (don't paste the actual password) Is it valid format? (map of host to password) Example: https://github.com/oliver006/redis_exporter/blob/master/contrib/sample-pwd-file.json
What does the file looks like when authenticating with username + password?
I've unsuccessfully tried both syntaxes:
{
"redis://redis_exporter:pwd@redis:6379": ""
}
{
"redis://redis_exporter@redis:6379": "pwd"
}
The json config file is passed by a secret file:
redis_exporter:
image: quay.io/oliver006/redis_exporter
environment:
- REDIS_ADDR=${REDIS_HOST:-redis}
- REDIS_PORT=${REDIS_PORT:-6379}
#- REDIS_USER=redis_exporter
#- REDIS_PASSWORD=$REDIS_EXPORTER_REDIS_PASSWORD
- REDIS_PASSWORD_FILE=/run/secrets/redis_exporter_redis_password
secrets:
- redis_exporter_redis_password
Describe the problem Unable to initialize container:
What version of redis_exporter are you running? Please run
redis_exporter --version
if you're not sure what version you're running. [ ] 0.3x.x [x] 1.57.0