summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-tomnext-nc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/sk-tomnext-nc.yml')
-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 \