From 1fe5742856800c46623dc2675d40ee8074dcd387 Mon Sep 17 00:00:00 2001 From: moanos Date: Fri, 5 Jul 2024 19:15:57 +0200 Subject: [PATCH] feat(wordpress): Automatically increase upload limit, bump v6.5.5-0 -> v6.5.5-2 --- docs/services/wordpress.md | 9 +++------ templates/requirements.yml | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/services/wordpress.md b/docs/services/wordpress.md index d1612d8..35d28c5 100644 --- a/docs/services/wordpress.md +++ b/docs/services/wordpress.md @@ -53,11 +53,8 @@ wordpress_container_labels_middleware_basic_auth_users: '' ### Increase upload limit -Increasing the upload limit can be done by manually editing the file `/mash/wordpress/data/.htaccess` and adding the following at the end of the file +By default we set the upload limit to `64M`. Increasing or decreasing the upload limit can be done by adding the following to your `vars.yml` -```.htaccess -php_value upload_max_filesize 256M -php_value post_max_size 256M -php_value max_execution_time 600 -php_value max_input_time 600 +```yaml +wordpress_max_upload_size: '64M' ``` diff --git a/templates/requirements.yml b/templates/requirements.yml index 26ae5b4..45a71a3 100644 --- a/templates/requirements.yml +++ b/templates/requirements.yml @@ -392,6 +392,6 @@ name: woodpecker_ci_server activation_prefix: devture_woodpecker_ci_server_ - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-wordpress - version: v6.5.5-0 + version: v6.5.5-2 name: wordpress activation_prefix: wordpress_