Skip to content

Add support for reading password from a file#183

Closed
kiall wants to merge 1 commit into
docker-library:masterfrom
kiall:support-password-file
Closed

Add support for reading password from a file#183
kiall wants to merge 1 commit into
docker-library:masterfrom
kiall:support-password-file

Conversation

@kiall

@kiall kiall commented Aug 9, 2016

Copy link
Copy Markdown

Supplying a POSTGRES_PASSWORD_FILE variable, which points to a file on disk within the container, will now be read and used as the value of the password. The original POSTGRES_PASSWORD variable takes precedence over the new POSTGRES_PASSWORD_FILE variable.

Supplying a POSTGRES_PASSWORD_FILE variable, which points
to a file on disk within the container, will now be read
and used as the value of the password. The original
POSTGRES_PASSWORD variable takes precedence over the new
POSTGRES_PASSWORD_FILE variable.
@kiall

kiall commented Aug 9, 2016

Copy link
Copy Markdown
Author

I'm not 100% certain if I should have ran the update script or not - I can back those out of the commit easily.

@kiall

kiall commented Aug 15, 2016

Copy link
Copy Markdown
Author

Travis seems to have failed with:

/home/travis/build.sh: line 45: docker: command not found

I'm guessing that's unrelated to my PR.

@yosifkit

Copy link
Copy Markdown
Member

(sorry we missed this 😢) Fixed by #225 with even more file envs!

@yosifkit yosifkit closed this Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants