summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-17 22:24:35 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-17 22:24:35 +0100
commit7a107cabebd77d3d76ed18003c9cd6c2c5eaf676 (patch)
tree01efc11e9cc288be5f3f6fc4b806472f4cd44a37 /inventory
parentcleanup (diff)
sk-tomnext-nc: increase opcache memory limit for nextcloud
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/sk-tomnext-nc.yml3
1 files changed, 3 insertions, 0 deletions
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
@@ -132,6 +132,9 @@ nextcloud_instances:
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 \
&& apt-get update -q \