From 7a107cabebd77d3d76ed18003c9cd6c2c5eaf676 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 17 Jan 2024 22:24:35 +0100 Subject: sk-tomnext-nc: increase opcache memory limit for nextcloud --- inventory/host_vars/sk-tomnext-nc.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inventory/host_vars/sk-tomnext-nc.yml') diff --git a/inventory/host_vars/sk-tomnext-nc.yml b/inventory/host_vars/sk-tomnext-nc.yml index 4cf034a6..6c07e67b 100644 --- a/inventory/host_vars/sk-tomnext-nc.yml +++ b/inventory/host_vars/sk-tomnext-nc.yml @@ -131,6 +131,9 @@ nextcloud_instances: password: "{{ vault_nextcloud_database_passwords['team.tomwaitz.eu'] }}" custom_image: dockerfile: | + RUN set -x \ + && sed 's/^opcache.memory_consumption=.*$/opcache.memory_consumption=256/' -i /usr/local/etc/php/conf.d/opcache-recommended.ini + RUN set -x \ && if [ -e "/etc/apt/sources.list" ]; then sed 's/main$/main contrib non-free/' -i /etc/apt/sources.list; fi \ && if [ -e "/etc/apt/sources.list.d/debian.sources" ]; then sed 's/^Components: main$/Components: main contrib non-free/' -i /etc/apt/sources.list.d/debian.sources; fi \ -- cgit v1.2.3