Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

[Feature Request] Support _FILE suffix in docker images #183

Closed
nikeee opened this issue Jul 16, 2018 · 1 comment
Closed

[Feature Request] Support _FILE suffix in docker images #183

nikeee opened this issue Jul 16, 2018 · 1 comment

Comments

@nikeee
Copy link

nikeee commented Jul 16, 2018

Feature Description

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: grafana/grafana-docker#166
Thread on forums: https://discuss.elastic.co/t/feature-request-support-file-suffix-in-docker-images/140107

nikeee added a commit to nikeee/elasticsearch-docker that referenced this issue Jul 24, 2018
@rjernst
Copy link
Member

rjernst commented Jun 25, 2019

Maintenance of the docker files for elasticsearch has moved to the elasticsearch repo. As we will be archiving this repository, I am going to close this issue and I have migrated it to elastic/elasticsearch#43603.

@rjernst rjernst closed this as completed Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants