From c04d12e66ebc6bc5dd46b6ec7913aa48f0c82bfa Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Tue, 17 Dec 2024 08:55:35 +0100 Subject: [PATCH] Add maximum resource and image size configurations to development, staging, and production environments --- playbook/inventories/development/host_vars/development_01.yml | 3 +++ playbook/inventories/production/host_vars/production_01.yml | 3 +++ playbook/inventories/staging/host_vars/staging_01.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/playbook/inventories/development/host_vars/development_01.yml b/playbook/inventories/development/host_vars/development_01.yml index 8a7667e..6d2c102 100644 --- a/playbook/inventories/development/host_vars/development_01.yml +++ b/playbook/inventories/development/host_vars/development_01.yml @@ -141,6 +141,9 @@ ckan__preview__text_formats: "text plain text/plain text/turtle rss txt" ckan__preview__loadable: "html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json arcgis_rest" #### Resource Proxy settings +### The maximum in megabytes a resources upload can be. Default 10MB +ckan__max_resource_size: 100 +ckan__max_image_size: 4 ### Preview size limit, default: 1MB ckan__resource_proxy__max_file_size: 50048576 ## Size of chunks to read/write__ diff --git a/playbook/inventories/production/host_vars/production_01.yml b/playbook/inventories/production/host_vars/production_01.yml index 71bd84b..de3bd7e 100644 --- a/playbook/inventories/production/host_vars/production_01.yml +++ b/playbook/inventories/production/host_vars/production_01.yml @@ -140,6 +140,9 @@ ckan__preview__text_formats: "text plain text/plain text/turtle rss txt" ckan__preview__loadable: "html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json arcgis_rest" #### Resource Proxy settings +### The maximum in megabytes a resources upload can be. Default 10MB +ckan__max_resource_size: 100 +ckan__max_image_size: 4 ### Preview size limit, default: 1MB ckan__resource_proxy__max_file_size: 50048576 ## Size of chunks to read/write__ diff --git a/playbook/inventories/staging/host_vars/staging_01.yml b/playbook/inventories/staging/host_vars/staging_01.yml index 21fba0b..8381053 100644 --- a/playbook/inventories/staging/host_vars/staging_01.yml +++ b/playbook/inventories/staging/host_vars/staging_01.yml @@ -140,6 +140,9 @@ ckan__preview__text_formats: "text plain text/plain text/turtle rss txt" ckan__preview__loadable: "html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json arcgis_rest" #### Resource Proxy settings +### The maximum in megabytes a resources upload can be. Default 10MB +ckan__max_resource_size: 100 +ckan__max_image_size: 4 ### Preview size limit, default: 1MB ckan__resource_proxy__max_file_size: 50048576 ## Size of chunks to read/write__