-
Notifications
You must be signed in to change notification settings - Fork 926
Open
Labels
Description
It would be nice if redis_exporter would support docker secrets for configuration variables.
E.g. the postgres container allows to specify docker secrets with "__FILE" appended to the environment variable.
E.g. POSTGRES_USER=dbuser could be specified as "POSTGRES_USER_FILE=/run/secrets/postgres_user". In the latter case, the POSTGRES_USER variable is extracted from the file /run/secrets/postgres_user.
See also the Docker Secrets section in https://hub.docker.com/_/postgres