-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB_ Environment Variables not populated #36
Comments
Here are the ENV variables I am using. I'm not sure why the start.sh script isn't working.
|
There are 2 ways to look at this: From the Dockerfile perspective: So let's say in your environment variables you're using:
From the Dockerfile perspective the database, username, password is set up with hardcoded values. So these values from the environment variables don't work (yet) From the environment files perspective:
Then check ipconfig.php if those variables are actually set. You then still have the problem, that the username / password / database name are hardcoded, but that can be solved. |
Thanks for your bug report, PR #37 has the fix for it. will test and if all looks good merge in a bit |
PR #37 merged |
This actually also would be fixed by #39 Such behaviour will result in unwanted behaviour, as there is no real source of truth. |
Hello 👋🏼 Is this now sorted as the PR for full config in env is merged? |
This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
** please explain your feature or bug report**
setup/start.sh not populating DB_ ENV variables.
MYSQL_* variables are supposed to populate the DB_ via the setup/start.sh script. However the DB_ variables are not populated.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
What is the expected behavior?
DB_* variables should be populated.
The DB settings in Setup were not populated.
After setting the DB_ variables in compose the DB settings were filled in.
Docker
This is for image 1.6.1.1
The text was updated successfully, but these errors were encountered: