{"id":19041445,"date":"2026-10-10T08:19:26","date_gmt":"2026-10-10T08:19:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/in-container-with-e-how-to-use-wordpress_config_extra\/"},"modified":"2026-10-10T08:19:26","modified_gmt":"2026-10-10T08:19:26","slug":"in-container-with-e-how-to-use-wordpress_config_extra","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/in-container-with-e-how-to-use-wordpress_config_extra\/","title":{"rendered":"in container with &#8216;-e&#8217; how to use WORDPRESS_CONFIG_EXTRA ?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi guys.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Would you know how to use <strong>WORDPRESS_CONFIG_EXTRA<\/strong> as an argument to docker\/podman command? Like with usual <strong>-e<\/strong> I&#8217;ve been trying some variations but am unable to get resulting <strong>wp-config.php<\/strong> hold any extra definitions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m hoping for WP_HOME &amp; WP_SITEURL so such WP would be deployed under a sub-path, eg.: https:\/\/some.thing\/word<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">many thanks, L<\/p>\n","protected":false},"template":"","class_list":["post-19041445","topic","type-topic","status-publish","hentry","topic-tag-container","topic-tag-environment"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19041445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19041445\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19041445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}