Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Using docker secrets for mysql password with mediawiki #20

Open
charlesreid1 opened this issue Mar 25, 2018 · 2 comments
Open

Using docker secrets for mysql password with mediawiki #20

charlesreid1 opened this issue Mar 25, 2018 · 2 comments

Comments

@charlesreid1
Copy link

Hi there,

To make use of this image in docker-compose without hard-coding passwords, and use docker secrets, there must be a way for mediawiki to get the mysql password from a file rather than an environment variable. It's a bit complicated, but boils down to the fact that docker secrets pass information into the container at runtime only, and via files only (the secret my_secret is available in the contents of the file /run/secrets/my_secret).

This requires a $MYSQL_PASSWORD_FILE variable option, instead of just a $MYSQL_PASSWORD option. Any plans to add this? Is this capability already in the container using some other method?

@benhutchins
Copy link
Owner

Sounds like it'll be worth adding support for. I'll make it a priority.

@zmitchell
Copy link

I'm looking for the same functionality. Has there been any progress on this?

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

3 participants