Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Fix env variable to override the settings. Bug Fix for Docker#278

Open
farajfarook wants to merge 1 commit intomrvautin:masterfrom
farajfarook:master
Open

Fix env variable to override the settings. Bug Fix for Docker#278
farajfarook wants to merge 1 commit intomrvautin:masterfrom
farajfarook:master

Conversation

@farajfarook
Copy link

This is a bug in docker. if the config file exists in the docker build, the environment variables cannot override those settings.

@farajfarook
Copy link
Author

farajfarook commented Sep 27, 2020

Could this be a problem with the connections config too ?
I deployed adminmongo to a kubernetes cluster and no connection is added when i set the ENV variables.

@erSitz I'm not sure. May be you can use this image to see if it solves your issue.
https://hub.docker.com/r/farajfarook/adminmongo

This is a temporarily image i created to help myself until this PR get merged.

@stevenlafl
Copy link

I can get the config.json file populated just fine upon looking at the container. However, viewing the page shows no saved connection details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants