-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
parametrization in setup-config.php will be useful #484
Comments
I'm not sure I understand what you mean -- from my understanding, |
My real goal is to start a wordpress docker with a pre-populated database skipping installation wizard. So I founded setup-config.php which contains this variables:
So in the same way of setup-config.php is allowed to receive values from docker run as env vars, Is is possible parametrize some useful values inside setup-config.php? Thanks, |
You mean similar to how https://github.com/urre/wordpress-nginx-docker-compose does it? |
I think the official docker image is a good example : https://hub.docker.com/_/wordpress/
it would be great to add these 2 variables
Because they are related to scenario when we have several environments for our wordpress : dev, staging, production. Default installs is good for development and companies in which the final user perform modifications direct into production wordpress. But if another team perform the required changes in development or testing environments, the final steps in production could be just update the database or some internal files(php, html, etc), so in this case the default values of WP_INSTALLING and WP_SETUP_CONFIG must be manually override, because current official image does not allow its parametrization :( |
The problem is that I don't think |
One of my goals is avoid manual modifications in my docker environments. Also I think there are other similar variables which are parametrized. If I have a pre-existent database, what happen with these vars?
Thanks for yout time @tianon |
I honestly have no idea -- as I noted above, I'm not familiar with those variables. I'd suggest asking in a support forum that's dedicated to community support of WordPress. As this isn't something we're going to change the image for, I'm going to close. |
Imagine that I have a pre-existent database and I need to startup my wordpress with this db.
So in the same way of parametrizations on wp-config.php, Could allow setup-config.php parametrization using env vars?
The text was updated successfully, but these errors were encountered: