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

env WORDPRESS_CONFIG_EXTRA for wordpress image[wordpress] #200

Closed
chendelin1982 opened this issue Sep 3, 2022 · 2 comments
Closed

env WORDPRESS_CONFIG_EXTRA for wordpress image[wordpress] #200

chendelin1982 opened this issue Sep 3, 2022 · 2 comments
Labels
feature Type label, New feature or request

Comments

@chendelin1982
Copy link
Contributor

What type of your feature request?

WORDPRESS_CONFIG_EXTRA

      - WORDPRESS_EXTRA_WP_CONFIG_CONTENT= |
        /* Multisite */
        define('WP_ALLOW_MULTISITE', true );
        define('MULTISITE', true);
        define('SUBDOMAIN_INSTALL', false);
        define('DOMAIN_CURRENT_SITE', '127.0.0.1');
        define('PATH_CURRENT_SITE', '/');
        define('SITE_ID_CURRENT_SITE', 1);
        define('BLOG_ID_CURRENT_SITE', 1);
@chendelin1982 chendelin1982 added the feature Type label, New feature or request label Sep 3, 2022
@chendelin1982
Copy link
Contributor Author

How to set max upload for WordPress?
https://kinsta.com/blog/increase-max-upload-size-wordpress/

@qiaofeng1227 qiaofeng1227 changed the title env WORDPRESS_CONFIG_EXTRA for wordpress image env WORDPRESS_CONFIG_EXTRA for wordpress image[wordpress] Oct 21, 2022
@qiaofeng1227 qiaofeng1227 transferred this issue from Websoft9test/docker-wordpress Oct 21, 2022
@chendelin1982
Copy link
Contributor Author

Done, add below lines at .env

WORDPRESS_CONFIG_EXTRA=" define('WP_ALLOW_MULTISITE', true ); \n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Type label, New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant