-
Notifications
You must be signed in to change notification settings - Fork 6
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
Setup certain PHP configs to be editable with environment variables #1
Comments
+1 for this From http://stackoverflow.com/questions/858431/is-it-possible-to-use-environment-variables-in-php-ini: We'd need to make sure to set the default |
Yep, environment vars are set here: https://github.com/terra-ops/terra-app/blob/master/src/terra/Factory/EnvironmentFactory.php#L305 To override for a specific app, we would use the
I'll need to test that the overrides behavior merges based on the environment name. |
After rebuilding docker-drupal with
I get a fatal PHP error. It seems like
|
Did you add to the Docker file? ENV PHP_MEMORY_LIMIT 128m That will set the default environment variable.
|
I need to up the PHP memory limit. I don't want to hard code it into the container.
Let's figure out how to use an environment variable to set it.
The text was updated successfully, but these errors were encountered: