Skip to content

Commit

Permalink
Merge "Limit wp page revisions in QUADS container."
Browse files Browse the repository at this point in the history
  • Loading branch information
sadsfae authored and gerritforge-ltd committed Mar 19, 2020
2 parents ef1a4e2 + 204fed1 commit 2a2f8ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
WORDPRESS_CONFIG_EXTRA: |
/* defaults */
define('WP_DEFAULT_THEME', 'quads');
define('WP_POST_REVISIONS', 100);
wp-db:
image: mariadb
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
WORDPRESS_CONFIG_EXTRA: |
/* defaults */
define('WP_DEFAULT_THEME', 'quads');
define('WP_POST_REVISIONS', 100);
wp-db:
image: mariadb
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
WORDPRESS_CONFIG_EXTRA: |
/* defaults */
define('WP_DEFAULT_THEME', 'quads');
define('WP_POST_REVISIONS', 100);
wp-db:
image: mariadb
Expand Down
1 change: 1 addition & 0 deletions docker/etc/wordpress/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
Expand Down

0 comments on commit 2a2f8ef

Please sign in to comment.