Wordpress wp-config.php doesn't update in Dockers?

前端 未结 3 1731
我寻月下人不归
我寻月下人不归 2021-02-15 14:50

I am using Wordpress and docker container. The problem is that I updated the wp-config.php file but everything looks the same. I have something like this:

CONTA         


        
3条回答
  •  不要未来只要你来
    2021-02-15 15:18

    You can make use of the WORDPRESS_CONFIG_EXTRA environment variable to define any other config values in the wp-config.php file.

    As an example:

    WORDPRESS_CONFIG_EXTRA: |
      define('WP_ALLOW_MULTISITE', true );
      define('MULTISITE', true);
      define('SUBDOMAIN_INSTALL', false);
    

提交回复
热议问题