[Feature Request] Support _FILE suffix in docker images

There is a convention on official docker images that environment variables that end in _FILE are read as a file and then assigned to a variable without the _FILE suffix. For example, setting the environment variable ELASTIC_PASSWORD_FILE to /run/secrets/secret-password will read the file /run/secrets/secret-password and assign its contents to the environment variable ELASTIC_PASSWORD. This is especially handy when using Docker secrets.

Related issue on grafana: https://github.com/grafana/grafana-docker/pull/166

Thanks for the idea, do you mind putting it into https://github.com/elastic/elasticsearch-docker/issues?

Done. Issue is at: https://github.com/elastic/elasticsearch-docker/issues/183

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.