wp
doesn't work any more #21
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As of the Wordpress 5.7 update this week, the default
wp-config.php
now seems to load environment variables directly:define( 'DB_NAME', getenv_docker('WORDPRESS_DB_NAME', 'database_name_here') );
Unfortunately, the separate recommended wp-cli container doesn't have access to the env variables:
And there doesn't seem to be a corresponding
--env-from
(like--volumes-from
) to load all of them without doing it manually.The mission to make the most useful WP tool as tricky to use with Docker as humanly possible continues on apace...
This almost works, but there seems to be no way to provide a Docker secret to a container launched with
docker run
, so I'm stuck again: