Skip to content
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

WORDPRESS_CONFIG_EXTRA does not work #332

Closed
DaveAurionix opened this issue Sep 5, 2018 · 1 comment
Closed

WORDPRESS_CONFIG_EXTRA does not work #332

DaveAurionix opened this issue Sep 5, 2018 · 1 comment

Comments

@DaveAurionix
Copy link

DaveAurionix commented Sep 5, 2018

The Problem

Setting WORDPRESS_CONFIG_EXTRA as an environment variable in docker does not result in lines added to wp-config.php.

Expected result

Setting the WORDPRESS_CONFIG_EXTRA parameter should add lines to wp-config.php as described on https://hub.docker.com/_/wordpress/ and mentioned in this pull request (albeit with an older parameter name): #142

Possible cause

The docker-entrypoint.sh file only injects that value if the wp-config.php file does not already exist, has a recent update to wordpress started deploying that file?

@DaveAurionix
Copy link
Author

Sorry, my fault. I was using persistent storage and wp-config.php was remaining from an older container.

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

No branches or pull requests

1 participant