Skip to content
Permalink
Browse files

Merge "Limit wp page revisions in QUADS container."

  • Loading branch information
sadsfae authored and gerritforge-ltd committed Mar 19, 2020
2 parents ef1a4e2 + 204fed1 commit 2a2f8efd30d97afee2df074b609b11dabe780193
@@ -35,6 +35,7 @@ services:
WORDPRESS_CONFIG_EXTRA: |
/* defaults */
define('WP_DEFAULT_THEME', 'quads');
define('WP_POST_REVISIONS', 100);
wp-db:
image: mariadb
@@ -36,6 +36,7 @@ services:
WORDPRESS_CONFIG_EXTRA: |
/* defaults */
define('WP_DEFAULT_THEME', 'quads');
define('WP_POST_REVISIONS', 100);
wp-db:
image: mariadb
@@ -35,6 +35,7 @@ services:
WORDPRESS_CONFIG_EXTRA: |
/* defaults */
define('WP_DEFAULT_THEME', 'quads');
define('WP_POST_REVISIONS', 100);
wp-db:
image: mariadb
@@ -144,6 +144,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
# https://github.com/docker-library/wordpress/issues/116
# https://github.com/WordPress/WordPress/commit/1acedc542fba2482bab88ec70d4bea4b997a92e4
sed -ri -e 's/\r$//' wp-config*
rm -rf wp-config.php

if [ ! -e wp-config.php ]; then
awk '

0 comments on commit 2a2f8ef

Please sign in to comment.
You can’t perform that action at this time.