Implemented flexible upload limits for wordpress and matrix :)

This commit is contained in:
2025-07-26 11:22:01 +02:00
parent f9f76892af
commit a9e7ed3605
7 changed files with 31 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
title: "Blog" # Wordpress titel
title: "Blog" # Wordpress titel
max_upload_size: "15M" # Low default upload size, because you should use Peertube for Videos and Funkwhale for Audio files
plugins:
wp-discourse:
enabled: "{{ 'web-app-discourse' in group_names | lower }}"

View File

@@ -1,7 +1,7 @@
application_id: "web-app-wordpress"
database_type: "mariadb"
host_msmtp_conf: "{{docker_compose.directories.config}}msmtprc.conf"
wordpress_max_upload_size: "64M"
wordpress_max_upload_size: "{{ applications | get_app_conf(application_id, 'max_upload_size') }}"
wordpress_custom_image: "wordpress_custom"
wordpress_docker_html_path: "/var/www/html"
wordpress_version: "{{ applications | get_app_conf(application_id, 'docker.services.wordpress.version', True) }}"